Verified Commit 0b42791b authored by Anthony Fok's avatar Anthony Fok

Add workaround to make checker_test.go work with "go test -v"

See https://github.com/frankban/quicktest/issues/46
parent bf766e19
Description: Workaround to make checker_test.go work with "go test -v"
TestCheckers/All_slice_mismatch_with_DeepEqual gives different result
depending on whether "go test" is in verbose mode or not.
This patch is a quick temporary workaround to allow Debian build to work,
although "go test" without "-v" would now fail.
Author: Anthony Fok <foka@debian.org>
Origin: vendor
Bug: https://github.com/frankban/quicktest/issues/46
Last-Update: 2019-08-05
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
diff --git a/checker_test.go b/checker_test.go
index 279190b..df0114d 100644
--- a/checker_test.go
+++ b/checker_test.go
@@ -2033,6 +2033,8 @@ error:
mismatch at index 1
error:
values are not deep equal
+first mismatched element:
+ []string{"a", "c"}
diff (-got +want):
` + diff([]string{"a", "c"}, []string{"a", "b"}) + `
`,
0001-make-TestCheckers-work-in-verbose-mode.patch
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment