Skip to content

Commit

Permalink
chore: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-gang committed Jan 24, 2025
1 parent 53b5e56 commit bcd8e9b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ require (
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
)
1 change: 1 addition & 0 deletions internal/assertions/single_line_assertion.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ func (a SingleLineAssertion) Run(screenState [][]string, startRowIndex int) (pro

rawRow := screenState[startRowIndex]
cleanedRow := virtual_terminal.BuildCleanedRow(rawRow)

for _, pattern := range a.FallbackPatterns {
if pattern.Match([]byte(cleanedRow)) {
return processedRowCount, nil
Expand Down
1 change: 1 addition & 0 deletions internal/stage_q4.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ func testQ4(stageHarness *test_case_harness.TestCaseHarness) error {
return err
}

// TODO: Simplify test case creation
inputs := []string{
fmt.Sprintf(`echo '%s\\n%s'`, L[0], L[1]),
fmt.Sprintf(`echo '%s\"%s%s\"%s'`, L[2], L[3], L[4], L[0]),
Expand Down

0 comments on commit bcd8e9b

Please sign in to comment.