You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: buddyinfo_test.go
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -52,8 +52,8 @@ Node 0, zone
52
52
iferr==nil {
53
53
t.Fatalf("expected error, but none occurred")
54
54
}
55
-
ifwant, got:="Error Parsing File: Invalid number of fields, found: [Node 0, zone]", err.Error(); want!=got {
56
-
t.Fatalf("Error Parsing File: Invalid number of fields, found: [Node %q, %q]", want, got)
55
+
ifwant, got:="error parsing file: Invalid number of fields, found: [Node 0, zone]", err.Error(); want!=got {
56
+
t.Fatalf("error parsing file: Invalid number of fields, found: [Node %q, %q]", want, got)
57
57
}
58
58
}
59
59
@@ -68,7 +68,7 @@ Node 0, zone Normal 4381 1093 185 1530 567 102 4 0
68
68
iferr==nil {
69
69
t.Fatalf("expected error, but none occurred")
70
70
}
71
-
ifwant, got:="Error Parsing File: mismatch in number of buddyinfo buckets, previous count 11, new count 12", err.Error(); !strings.HasPrefix(got, want) {
72
-
t.Fatalf("Error Parsing File: mismatch in number of buddyinfo buckets, previous count %q, new count %q", want, got)
71
+
ifwant, got:="error parsing file: mismatch in number of buddyinfo buckets, previous count 11, new count 12", err.Error(); !strings.HasPrefix(got, want) {
72
+
t.Fatalf("error parsing file: mismatch in number of buddyinfo buckets, previous count %q, new count %q", want, got)
0 commit comments