mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 15:05:27 +00:00
Merge pull request #46907 from zhangxiaoyu-zidif/add-comment-for-genutils
Automatic merge from submit-queue (batch tested with PRs 46787, 46876, 46621, 46907, 46819) Add fatal message **What this PR does / why we need it**: Add fatal message **Release note**: ```release-note NONE ```
This commit is contained in:
commit
21b6a336f5
@ -30,13 +30,13 @@ func TestValidDir(t *testing.T) {
|
||||
func TestInvalidDir(t *testing.T) {
|
||||
_, err := OutDir("./nondir")
|
||||
if err == nil {
|
||||
t.Fatal(err)
|
||||
t.Fatal("expected an error")
|
||||
}
|
||||
}
|
||||
|
||||
func TestNotDir(t *testing.T) {
|
||||
_, err := OutDir("./genutils_test.go")
|
||||
if err == nil {
|
||||
t.Fatal(err)
|
||||
t.Fatal("expected an error")
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user