diff options
| author | Rob Pike <r@golang.org> | 2018-06-14 11:09:28 +1000 |
|---|---|---|
| committer | Rob Pike <r@golang.org> | 2018-06-14 21:41:38 +0000 |
| commit | 5fdacfa89f871888d6f8fde726b8f95f11e674d6 (patch) | |
| tree | 59b5502e5bd0edc4df3520de5e61e482e879daa2 /src/cmd/trace/annotations_test.go | |
| parent | 26727b84d92db09843175a945b93ad46ff7d0a53 (diff) | |
| download | go-5fdacfa89f871888d6f8fde726b8f95f11e674d6.tar.xz | |
cmd/cover: remove use of diff in cover_test.go
It's non-portable, and the test isn't hard to write without diff.
It still produces helpful output in case of trouble:
--- FAIL: TestCoverHTML (0.75s)
cover_test.go:325: line 4 differs: got:
case <-ch:<span class="cov0" title="0"></span>
want:
case <-ch:<span class="cov0" xitle="0"></span>
This makes the test operating-system independent.
Change-Id: Iff35f00cb76ba89bc1b93db01c6f994e74341f4a
Reviewed-on: https://go-review.googlesource.com/118795
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/cmd/trace/annotations_test.go')
0 files changed, 0 insertions, 0 deletions
