Skip to content

Commit

Permalink
tests: minor fixes for Go 1.12
Browse files Browse the repository at this point in the history
  • Loading branch information
aarzilli authored and derekparker committed Nov 20, 2018
1 parent f8c0c37 commit f813520
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion _fixtures/cgostacktest/main.go
@@ -1,6 +1,6 @@
package main

// #include <hello.h>
// #include "hello.h"
import "C"

import (
Expand Down
3 changes: 3 additions & 0 deletions service/test/integration2_test.go
Expand Up @@ -1566,6 +1566,9 @@ func TestClientServerFunctionCall(t *testing.T) {

func TestClientServerFunctionCallBadPos(t *testing.T) {
protest.MustSupportFunctionCalls(t, testBackend)
if goversion.VersionAfterOrEqual(runtime.Version(), 1, 12) {
t.Skip("this is a safe point for Go 1.12")
}
withTestClient2("fncall", t, func(c service.Client) {
mustHaveDebugCalls(t, c)
loc, err := c.FindLocation(api.EvalScope{-1, 0, 0}, "fmt/print.go:649")
Expand Down

0 comments on commit f813520

Please sign in to comment.