Skip to content

Commit

Permalink
Swap from golden test to simpler contains check
Browse files Browse the repository at this point in the history
  • Loading branch information
ddworken committed Aug 26, 2024
1 parent 30c92dd commit 393243e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 33 deletions.
4 changes: 2 additions & 2 deletions client/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3303,8 +3303,8 @@ func TestSanitizeEscapeCodes(t *testing.T) {
"SPACE",
})

// Compare the output with the golden file
testutils.CompareGoldens(t, out, "TestSanitizeEscapeCodes-Output")
// It gets stripped out
require.Contains(t, out, "Search Query: >\n")
}

// TODO: somehow test/confirm that hishtory works even if only bash/only zsh is installed
31 changes: 0 additions & 31 deletions client/testdata/TestSanitizeEscapeCodes-Output

This file was deleted.

0 comments on commit 393243e

Please sign in to comment.