aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/nm
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/nm')
-rw-r--r--src/cmd/nm/nm_test.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cmd/nm/nm_test.go b/src/cmd/nm/nm_test.go
index e47d57d9cb..dcd9f36005 100644
--- a/src/cmd/nm/nm_test.go
+++ b/src/cmd/nm/nm_test.go
@@ -266,12 +266,12 @@ func testGoLib(t *testing.T, iscgo bool) {
Found bool
}
var syms = []symType{
- {"B", "%22%22.Testdata", false, false},
- {"T", "%22%22.Testfunc", false, false},
+ {"B", "mylib.Testdata", false, false},
+ {"T", "mylib.Testfunc", false, false},
}
if iscgo {
- syms = append(syms, symType{"B", "%22%22.TestCgodata", false, false})
- syms = append(syms, symType{"T", "%22%22.TestCgofunc", false, false})
+ syms = append(syms, symType{"B", "mylib.TestCgodata", false, false})
+ syms = append(syms, symType{"T", "mylib.TestCgofunc", false, false})
if runtime.GOOS == "darwin" || (runtime.GOOS == "windows" && runtime.GOARCH == "386") {
syms = append(syms, symType{"D", "_cgodata", true, false})
syms = append(syms, symType{"T", "_cgofunc", true, false})