mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-06 02:34:03 +00:00
Merge pull request #30772 from ncdc/fix-build
Add newline to printf to fix junit
This commit is contained in:
commit
438ec92210
@ -140,7 +140,7 @@ stuff: 1
|
|||||||
if err == nil {
|
if err == nil {
|
||||||
t.Fatal("expected error with yaml: prefix, got no error")
|
t.Fatal("expected error with yaml: prefix, got no error")
|
||||||
}
|
}
|
||||||
fmt.Printf("err: %s", err.Error())
|
fmt.Printf("err: %s\n", err.Error())
|
||||||
if !strings.HasPrefix(err.Error(), "yaml: line 1:") {
|
if !strings.HasPrefix(err.Error(), "yaml: line 1:") {
|
||||||
t.Fatalf("expected %q to have 'yaml: line 1:' prefix", err.Error())
|
t.Fatalf("expected %q to have 'yaml: line 1:' prefix", err.Error())
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user