Skip to content

Commit

Permalink
chore: fix cprint test
Browse files Browse the repository at this point in the history
  • Loading branch information
pmalek committed Jul 31, 2024
1 parent 3227ee8 commit 6a0fb4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cprint/color_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func TestPrint(t *testing.T) {
UpdatePrintln("bar")
DeletePrintln("fubaz")
},
Expected: "\x1b[32mfoo\n\x1b[0m\x1b[33mbar\n\x1b[0m\x1b[31mfubaz\n\x1b[0m",
Expected: "\x1b[32mfoo\x1b[0m\n\x1b[33mbar\x1b[0m\n\x1b[31mfubaz\x1b[0m\n",
},
{
name: "println doesn't output anything when disabled",
Expand Down

0 comments on commit 6a0fb4f

Please sign in to comment.