Make repo_add_test.go fail by inserted .yaml into path

Signed-off-by: Guy Bolton King <guy@waftex.com>
pull/10590/head
Guy Bolton King 3 years ago
parent ad6b4fe210
commit 4367fe0c1e
No known key found for this signature in database
GPG Key ID: A5F222BE0AC7C0E1

@ -48,7 +48,7 @@ func TestRepoAddCmd(t *testing.T) {
} }
defer srv2.Stop() defer srv2.Stop()
tmpdir := filepath.Join(ensure.TempDir(t), "path-component/data") tmpdir := filepath.Join(ensure.TempDir(t), "path-component.yaml/data")
err = os.MkdirAll(tmpdir, 0777) err = os.MkdirAll(tmpdir, 0777)
if err != nil { if err != nil {
t.Fatal(err) t.Fatal(err)

Loading…
Cancel
Save