File: fix-tests

package info (click to toggle)
golang-github-facebookgo-ensure 0.0~git20160127.0.b4ab57d-5
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 120 kB
  • sloc: makefile: 2
file content (12 lines) | stat: -rw-r--r-- 312 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
Fix tests, which include line numbers.
--- a/ensure_test.go
+++ b/ensure_test.go
@@ -39,7 +39,7 @@
 		44.45,
 		typ{Answer: 46},
 	)
-	c.Equal(t, `ensure_test.go:41: unexpected error: foo
+	c.Equal(t, `ensure_test.go:32: unexpected error: foo
 (map[string]int) (len=1) {
  (string) (len=6) "answer": (int) 42
 }