Skip to content

Commit

Permalink
Decode CBOR in the diode test to fix workflow failures
Browse files Browse the repository at this point in the history
  • Loading branch information
gmbuell committed Jan 13, 2024
1 parent c1ab4ed commit 939343b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion diode/diode_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ func TestFatal(t *testing.T) {
}

want := "{\"level\":\"fatal\",\"message\":\"test\"}\n"
got := string(slurp)
got := cbor.DecodeIfBinaryToString(slurp)
if got != want {
t.Errorf("Diode Fatal Test failed. got:%s, want:%s!", got, want)
}
Expand Down

0 comments on commit 939343b

Please sign in to comment.