aboutsummaryrefslogtreecommitdiff
path: root/gopls/internal/regtest/misc/misc_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'gopls/internal/regtest/misc/misc_test.go')
-rw-r--r--gopls/internal/regtest/misc/misc_test.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/gopls/internal/regtest/misc/misc_test.go b/gopls/internal/regtest/misc/misc_test.go
index 3694b07fc..12aea697c 100644
--- a/gopls/internal/regtest/misc/misc_test.go
+++ b/gopls/internal/regtest/misc/misc_test.go
@@ -8,9 +8,11 @@ import (
"testing"
"golang.org/x/tools/gopls/internal/hooks"
- "golang.org/x/tools/internal/lsp/regtest"
+ "golang.org/x/tools/gopls/internal/lsp/regtest"
+ "golang.org/x/tools/internal/bug"
)
func TestMain(m *testing.M) {
+ bug.PanicOnBugs = true
regtest.Main(m, hooks.Options)
}