File tree 1 file changed +2
-3
lines changed 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -1020,7 +1020,6 @@ func TestSymlinkCreation(t *testing.T) {
1020
1020
t .Skip ("Windows developer mode is not active" )
1021
1021
}
1022
1022
1023
- // create dummy file to symlink
1024
1023
temp , err := ioutil .TempDir ("" , "TestSymlinkCreation" )
1025
1024
if err != nil {
1026
1025
t .Fatal (err )
@@ -1030,13 +1029,13 @@ func TestSymlinkCreation(t *testing.T) {
1030
1029
dummyFile := filepath .Join (temp , "file" )
1031
1030
err = ioutil .WriteFile (dummyFile , []byte ("" ), 0644 )
1032
1031
if err != nil {
1033
- t .Fatalf ( "Failed to create dummy file: %v" , err )
1032
+ t .Fatal ( err )
1034
1033
}
1035
1034
1036
1035
linkFile := filepath .Join (temp , "link" )
1037
1036
err = os .Symlink (dummyFile , linkFile )
1038
1037
if err != nil {
1039
- t .Fatalf ( "Failed to create symlink: %v" , err )
1038
+ t .Fatal ( err )
1040
1039
}
1041
1040
}
1042
1041
You can’t perform that action at this time.
0 commit comments