OSDN Git Service

AnnotatedInput add AssetDifinition for issue (#1450)
[bytom/bytom.git] / consensus / server_flag_test.go
index 996e0a2..c121594 100644 (file)
@@ -32,7 +32,7 @@ func TestIsEnable(t *testing.T) {
 
        for i, c := range cases {
                if c.baseFlag.IsEnable(c.checkFlage) != c.result {
-                       t.Errorf("test case #%b got %b, want %b", i, c.baseFlag.IsEnable(c.checkFlage), c.result)
+                       t.Errorf("test case #%d got %t, want %t", i, c.baseFlag.IsEnable(c.checkFlage), c.result)
                }
        }
 }