]> Cypherpunks repositories - gostls13.git/commit
archive/tar: adjust bytediff to print full context
authorJoe Tsai <joetsai@digital-static.net>
Fri, 11 Aug 2017 18:47:16 +0000 (11:47 -0700)
committerJoe Tsai <thebrokentoaster@gmail.com>
Mon, 14 Aug 2017 06:27:44 +0000 (06:27 +0000)
commit01385b1bb64328040cdd2ea32e3de9ce8d22386a
treebaa2a19308d75b2873fe1a17cc75ceae29156dc3
parent7ae9561610200beab11a1a6380a1d0f245262296
archive/tar: adjust bytediff to print full context

Since test files don't exceed 10KiB, print the full context of the diff,
including bytes that are equal.
Also, fix the labels for got and want; they were backwards before.

Change-Id: Ibac022e5f988d26812c3f75b643cae8b95603fc9
Reviewed-on: https://go-review.googlesource.com/55151
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
src/archive/tar/writer_test.go