Skip to content

Commit ef32c00

Browse files
committed
chore:check fs move
1 parent dfe88cf commit ef32c00

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

_cmptest/llcppgend_test.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,10 @@ func runDemos(t *testing.T, demosPath string, pkgname, pkgpath, pcPath string) {
114114
t.Fatal(err)
115115
}
116116
defer os.RemoveAll(tempDemosPath)
117-
os.CopyFS(tempDemosPath, os.DirFS(demosPath))
117+
err = os.CopyFS(tempDemosPath, os.DirFS(demosPath))
118+
if err != nil {
119+
t.Fatal(err)
120+
}
118121

119122
goMod := command(tempDemosPath, "go", "mod", "init", "test")
120123
err = goMod.Run()

0 commit comments

Comments
 (0)