]> ruderich.org/simon Gitweb - safcm/safcm.git/blobdiff - remote/sync/files_test.go
Update copyright years
[safcm/safcm.git] / remote / sync / files_test.go
index 34751ae360e6fb09f09b860ef690274790c81ca0..48d54fca062812974317958ae28ecbc8c77c0776 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2021  Simon Ruderich
+// Copyright (C) 2021-2022  Simon Ruderich
 //
 // This program is free software: you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
@@ -36,7 +36,7 @@ func TestSyncFiles(t *testing.T) {
        if err != nil {
                t.Fatal(err)
        }
-       defer os.Chdir(cwd)
+       defer os.Chdir(cwd) //nolint:errcheck
 
        err = os.RemoveAll("testdata")
        if err != nil {
@@ -887,7 +887,7 @@ func TestSyncFile(t *testing.T) {
        if err != nil {
                t.Fatal(err)
        }
-       defer os.Chdir(cwd)
+       defer os.Chdir(cwd) //nolint:errcheck
 
        err = os.RemoveAll("testdata")
        if err != nil {