Skip to content

Commit

Permalink
Fix staticcheck failure
Browse files Browse the repository at this point in the history
  • Loading branch information
cespare committed Dec 4, 2022
1 parent 3c87ff8 commit a76eb16
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dynamic/dynamic_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ package main
import (
"bytes"
"log"
"os"
"os/exec"
"plugin"
"testing"
Expand All @@ -26,7 +27,7 @@ func TestMain(m *testing.M) {
if err := cmd.Run(); err != nil {
log.Fatalf("Error building plugin: %s\nOutput:\n%s", err, out.String())
}
m.Run()
os.Exit(m.Run())
}

func TestDynamic(t *testing.T) {
Expand Down

0 comments on commit a76eb16

Please sign in to comment.