TBR fix test line numbers
Change-Id: Icfe986ad5bbfc909742a70d9d374368ecd6cae0a
diff --git a/test/v23tests/v23tests_test.go b/test/v23tests/v23tests_test.go
index ba66384..c8d655f 100644
--- a/test/v23tests/v23tests_test.go
+++ b/test/v23tests/v23tests_test.go
@@ -299,7 +299,7 @@
msg := recover().(string)
// this, and the tests below are intended to ensure that line #s
// are captured and reported correctly.
- if got, want := msg, "v23tests_test.go:308"; !strings.Contains(got, want) {
+ if got, want := msg, "v23tests_test.go:309"; !strings.Contains(got, want) {
t.Fatalf("%q does not contain %q", got, want)
}
if got, want := msg, "fork/exec /bin/echox: no such file or directory"; !strings.Contains(got, want) {
@@ -321,7 +321,7 @@
sh.SetDefaultStartOpts(opts)
defer func() {
msg := recover().(string)
- if got, want := msg, "v23tests_test.go:330"; !strings.Contains(got, want) {
+ if got, want := msg, "v23tests_test.go:331"; !strings.Contains(got, want) {
t.Fatalf("%q does not contain %q", got, want)
}
if got, want := msg, "StartWithOpts"; !strings.Contains(got, want) {
@@ -345,7 +345,7 @@
if iterations == 0 {
t.Fatalf("our sleeper didn't get to run")
}
- if got, want := recover().(string), "v23tests_test.go:351: timed out"; !strings.Contains(got, want) {
+ if got, want := recover().(string), "v23tests_test.go:352: timed out"; !strings.Contains(got, want) {
t.Fatalf("%q does not contain %q", got, want)
}
}()
@@ -367,7 +367,7 @@
if iterations != 0 {
t.Fatalf("our sleeper got to run")
}
- if got, want := recover().(string), "v23tests_test.go:373: timed out"; !strings.Contains(got, want) {
+ if got, want := recover().(string), "v23tests_test.go:374: timed out"; !strings.Contains(got, want) {
t.Fatalf("%q does not contain %q", got, want)
}
}()