aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Brainman <alex.brainman@gmail.com>2016-11-06 18:43:49 +1100
committerAlex Brainman <alex.brainman@gmail.com>2016-11-07 02:55:52 +0000
commitf8187ceacf886195dc9f72a6578bd266efc52681 (patch)
treebbad66adaf2fc1cce6e3e6cb581097df5684fd39
parente0178025978470e9f7b5fa9365891d20db809a7c (diff)
downloadgo-f8187ceacf886195dc9f72a6578bd266efc52681.tar.gz
go-f8187ceacf886195dc9f72a6578bd266efc52681.zip
runtime/race: allow TestFail to run longer than 0.00s
Fixes #17811 Change-Id: I7bf9cbc5245417047ad28a14d9b9ad6592607d3d Reviewed-on: https://go-review.googlesource.com/32774 Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
-rw-r--r--src/runtime/race/output_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/race/output_test.go b/src/runtime/race/output_test.go
index 2a2e3b79e5..587540f5e8 100644
--- a/src/runtime/race/output_test.go
+++ b/src/runtime/race/output_test.go
@@ -184,7 +184,7 @@ func TestFail(t *testing.T) {
}
`, `
==================
---- FAIL: TestFail \(0.00s\)
+--- FAIL: TestFail \(0...s\)
.*testing.go:.*: race detected during execution of test
FAIL`},