Skip to content
This repository has been archived by the owner on Sep 9, 2020. It is now read-only.

Commit

Permalink
gps: See if ioutil.WriteFile() makes windows happy
Browse files Browse the repository at this point in the history
  • Loading branch information
sdboyer committed Oct 29, 2017
1 parent ea9a941 commit 123ba6b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions internal/gps/vcs_source_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -697,11 +697,10 @@ func TestGitSourceAdaptiveCleanup(t *testing.T) {

// Create a file that git will see as untracked.
untrackedPath := filepath.Join(repodir, "untrackedfile")
f, err := os.Create(untrackedPath)
err = ioutil.WriteFile(untrackedPath, []byte("foo"), 0644)
if err != nil {
t.Fatal(err)
}
f.Close()

mkSM()
err = sm.SyncSourceFor(id)
Expand Down

0 comments on commit 123ba6b

Please sign in to comment.