Skip to content

Commit 74d235d

Browse files
author
xiao
committed
update module4 with go-mod-copy workaround
1 parent 9bdca4f commit 74d235d

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

module4/go.mod.copy

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module github.com/pluralsight-projects/golang-cli-playbook
2+
3+
go 1.13
4+
5+
require golang.org/x/tools v0.0.0-20200214225126-5916a50871fb // indirect

module4/module4_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010

1111
func TestModule4GoFormatContent(t *testing.T) {
1212
expected := " github.com/codemodus/kace"
13-
found := OpenFileAndFindNthString("../go.mod", 0, expected)
13+
found := OpenFileAndFindNthString("./go.mod.copy", 0, expected)
1414
if found != true {
1515
t.Errorf("the kace package is not found")
1616
}

0 commit comments

Comments
 (0)