X-Git-Url: https://ruderich.org/simon/gitweb/?p=safcm%2Fsafcm.git;a=blobdiff_plain;f=cmd%2Fsafcm%2Fsync_test.go;fp=cmd%2Fsafcm%2Fsync_test.go;h=10ffec1c430dca2d6961410a1bd7cccf89ddc20e;hp=8cde5ab612e7d6aeaf967ee01943fea4ddc06c8f;hb=ba1a93368ed95d7160062f60fb8b579bc178d3aa;hpb=8620dac1f9ee7f73058e3e97b488ec0c710a89df diff --git a/cmd/safcm/sync_test.go b/cmd/safcm/sync_test.go index 8cde5ab..10ffec1 100644 --- a/cmd/safcm/sync_test.go +++ b/cmd/safcm/sync_test.go @@ -29,7 +29,7 @@ func TestHostsToSync(t *testing.T) { if err != nil { t.Fatal(err) } - defer os.Chdir(cwd) + defer os.Chdir(cwd) //nolint:errcheck err = os.Chdir("testdata/project") if err != nil {