Skip to content

Commit

Permalink
temp
Browse files Browse the repository at this point in the history
  • Loading branch information
aarzilli committed Oct 26, 2020
1 parent 9ea7397 commit 3b0e7f6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions service/test/integration2_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -769,6 +769,7 @@ func TestClientServer_FindLocations(t *testing.T) {

locsNoSubst, _ := c.FindLocation(api.EvalScope{GoroutineID: -1}, "locationsprog.go:35", false, nil)
substRules := [][2]string{[2]string{filepath.Dir(locsNoSubst[0].File), "/nonexistent/path"}}
t.Logf("substitute rules: %q -> %q", substRules[0][0], substRules[0][1])
locsSubst, err := c.FindLocation(api.EvalScope{GoroutineID: -1}, "/nonexistent/path/locationsprog.go:35", false, substRules)
if err != nil {
t.Fatalf("FindLocation(locationsprog.go:35) with substitute rules: %v", err)
Expand Down

0 comments on commit 3b0e7f6

Please sign in to comment.