Skip to content

Commit a6bdd54

Browse files
committed
Fix tests
1 parent 45d5c9d commit a6bdd54

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

main_test.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ func TestAllVersions(t *testing.T) {
3030
}
3131

3232
t.Run(versionPath, func(t *testing.T) {
33-
data, err := main_impl(filePath, true, true, true, true, 0, "")
33+
data, err := main_impl(filePath, true, true, true, false, 0, "")
3434
if err != nil {
3535
t.Errorf("Go %s failed on %s: %s", v, file, err)
3636
}
@@ -119,7 +119,7 @@ func testSymbolRecovery(t *testing.T, workingDirectory string, binaryName string
119119
return
120120
}
121121

122-
data, err := main_impl(filePath, true, true, true, true, 0, "")
122+
data, err := main_impl(filePath, true, true, true, false, 0, "")
123123
if err != nil {
124124
t.Errorf("GoReSym failed: %s", err)
125125
}
@@ -214,7 +214,7 @@ func TestWeirdBins(t *testing.T) {
214214
return
215215
}
216216

217-
_, err := main_impl(filePath, true, true, true, true, 0, "")
217+
_, err := main_impl(filePath, true, true, true, false, 0, "")
218218
if err == nil {
219219
t.Errorf("GoReSym found pclntab in a non-go binary, this is not possible.")
220220
}
@@ -228,7 +228,7 @@ func TestWeirdBins(t *testing.T) {
228228
return
229229
}
230230

231-
_, err := main_impl(filePath, true, true, true, true, 0, "")
231+
_, err := main_impl(filePath, true, true, true, false, 0, "")
232232
if err == nil {
233233
t.Errorf("GoReSym found pclntab in a non-go binary, this is not possible.")
234234
}

0 commit comments

Comments
 (0)