File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ func TestSymlink(t *testing.T) {
22
22
// the expected result depends on it
23
23
devMode , _ := isDeveloperModeActive ()
24
24
25
- t .Logf ("Windows developer mode active: %v\n " , devMode )
25
+ t .Logf ("Windows developer mode active: %v" , devMode )
26
26
27
27
// create dummy file to symlink
28
28
dummyFile := filepath .Join (os .TempDir (), "issue22874.test" )
@@ -52,7 +52,7 @@ func TestSymlink(t *testing.T) {
52
52
}
53
53
54
54
// developer mode is disabled, and the error is expected
55
- fmt . Printf ("Success: Creating symlink failed with expected ERROR_PRIVILEGE_NOT_HELD error\n " )
55
+ t . Logf ("Success: Creating symlink failed with expected ERROR_PRIVILEGE_NOT_HELD error" )
56
56
57
57
return nil
58
58
}
@@ -65,7 +65,7 @@ func TestSymlink(t *testing.T) {
65
65
// remove the link. don't care for any errors
66
66
os .Remove (linkFile )
67
67
68
- t .Logf ("Success: Creating symlink succeeded\n " )
68
+ t .Logf ("Success: Creating symlink succeeded" )
69
69
70
70
return nil
71
71
}
You can’t perform that action at this time.
0 commit comments