Merge pull request #136 from antichris/gocomplete-let-tests-fail

gocomplete: do not suppress test failures
This commit is contained in:
Eyal Posener 2021-04-01 10:52:49 +03:00 committed by GitHub
commit 002575c9d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -43,7 +43,8 @@ func TestPredictions(t *testing.T) {
func BenchmarkFake(b *testing.B) {}
func Example() {
monkey.Patch(os.Exit, func(int) {})
p := monkey.Patch(os.Exit, func(int) {})
defer p.Unpatch()
os.Setenv("COMP_LINE", "go ru")
os.Setenv("COMP_POINT", "5")
main()