Skip to content

Commit

Permalink
uncommit sanitizeOutput
Browse files Browse the repository at this point in the history
  • Loading branch information
haitham911 committed Feb 10, 2025
1 parent 81fdc5b commit 4ea3455
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/cli_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -586,10 +586,10 @@ func verifyExitCode(t *testing.T, expected, actual int) bool {

func verifyOutput(t *testing.T, outputType, output string, patterns []MatchPattern) bool {
success := true
// output, err := sanitizeOutput(output)
// if err != nil {
// t.Fatalf("failed to sanitize stdout output: %v", err)
// }
output, err := sanitizeOutput(output)
if err != nil {
t.Fatalf("failed to sanitize stdout output: %v", err)
}
for _, pattern := range patterns {
re, err := regexp.Compile(pattern.Pattern)
if err != nil {
Expand Down

0 comments on commit 4ea3455

Please sign in to comment.