Skip to content

Commit 27150cc

Browse files
authored
Merge pull request #33 from arduino/per1234/fix-result-package-test
Fix result package test
2 parents a21d86d + 14ca020 commit 27150cc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: result/result_test.go

+3-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ import (
3030
func TestWriteReport(t *testing.T) {
3131
flags := test.ConfigurationFlags()
3232

33-
projectPaths := []string{"/foo"}
33+
projectPath, err := os.Getwd() // Path to an arbitrary folder that is guaranteed to exist.
34+
require.Nil(t, err)
35+
projectPaths := []string{projectPath}
3436

3537
reportFolderPathString, err := ioutil.TempDir("", "arduino-check-result-TestWriteReport")
3638
require.Nil(t, err)

0 commit comments

Comments
 (0)