Skip to content

Commit

Permalink
Update internal/app/app_test.go
Browse files Browse the repository at this point in the history
Co-authored-by: Maksym Kryvchun <hedhyw@yahoo.com>
  • Loading branch information
chirino and hedhyw authored Aug 30, 2024
1 parent 6148c6e commit 076804e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/app/app_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ func newTestModel(tb testing.TB, content []byte) tea.Model {

testFile := tests.RequireCreateFile(tb, content)

is, err := source.File(testFile, config.GetDefaultConfig())
inputSource, err := source.File(testFile, config.GetDefaultConfig())
require.NoError(tb, err)
model := app.NewModel(testFile, config.GetDefaultConfig(), testVersion)

entries, err := is.ParseLogEntries()
entries, err := inputSource.ParseLogEntries()
require.NoError(tb, err)
model = handleUpdate(model, events.LogEntriesUpdateMsg(entries))

Expand Down

0 comments on commit 076804e

Please sign in to comment.