Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
stevemk14ebr committed Feb 12, 2025
1 parent 45d5c9d commit a6bdd54
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func TestAllVersions(t *testing.T) {
}

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

data, err := main_impl(filePath, true, true, true, true, 0, "")
data, err := main_impl(filePath, true, true, true, false, 0, "")
if err != nil {
t.Errorf("GoReSym failed: %s", err)
}
Expand Down Expand Up @@ -214,7 +214,7 @@ func TestWeirdBins(t *testing.T) {
return
}

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

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

0 comments on commit a6bdd54

Please sign in to comment.