Skip to content

Commit d635ab6

Browse files
authored
gopy: fix go.mod used in tests to allow for spaces in path names
1 parent 3b6e67f commit d635ab6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -810,7 +810,7 @@ func writeGoMod(t *testing.T, pkgDir, tstDir string) {
810810
module dummy
811811
812812
require github.com/go-python/gopy v0.0.0
813-
replace github.com/go-python/gopy => %s
813+
replace github.com/go-python/gopy => "%s"
814814
`
815815
contents := fmt.Sprintf(template, pkgDir)
816816
if err := ioutil.WriteFile(filepath.Join(tstDir, "go.mod"), []byte(contents), 0666); err != nil {

0 commit comments

Comments
 (0)