We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6580e94 commit ead32dfCopy full SHA for ead32df
1 file changed
test/extended/machines/cluster_test.go
@@ -88,7 +88,10 @@ func Test_bootTimelineSliceFormat(t *testing.T) {
88
{action: "RebootRequest", time: mustTime("2026-01-20T22:01:27Z")},
89
}
90
formatted := fmt.Sprintf("%v", entries)
91
- if formatted == fmt.Sprintf("%v", []struct{ action string; time time.Time }{{action: "Boot"}, {action: "RebootRequest"}}) {
+ if formatted == fmt.Sprintf("%v", []struct {
92
+ action string
93
+ time time.Time
94
+ }{{action: "Boot"}, {action: "RebootRequest"}}) {
95
t.Error("slice formatting is not using String() method")
96
97
expected := "[2026-01-20T22:20:50Z - Boot 2026-01-20T22:01:27Z - RebootRequest]"
0 commit comments