Skip to content

Commit

Permalink
FIX: missed commit a68b437
Browse files Browse the repository at this point in the history
  • Loading branch information
pascaldekloe committed Aug 1, 2024
1 parent a68b437 commit 2ba9946
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions info/info_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@ import (
)

func TestQualString(t *testing.T) {
if s := Qual(0).String(); s != "OK" {
t.Errorf("0 got %q, want OK", s)
if s := Qual(0).String(); s != "[]" {
t.Errorf("0 got %q, want []", s)
}
if s := Qual(Overflow).String(); s != "OV" {
t.Errorf("Overflow got %q, want OV", s)
}
if s := Qual(0x02).String(); s != "RES2" {
t.Errorf("0x02 got %q, want RES2", s)
if s := Qual(0x02).String(); s != "[2]" {
t.Errorf("0x02 got %q, want [2]", s)
}
if s := Qual(0x06).String(); s != "RES2,RES3" {
t.Errorf("0x06 got %q, want RES2,RES3", s)
if s := Qual(0x06).String(); s != "[2],[3]" {
t.Errorf("0x06 got %q, want [2],[3]", s)
}
if s := Qual(Blocked | NotTopical).String(); s != "BL,NT" {
t.Errorf("Blocked|NotTopical got %q, want BL,NT", s)
Expand Down

0 comments on commit 2ba9946

Please sign in to comment.