moby--moby/pkg/jsonmessage
Ian Campbell 6582cfb1d4 pkg/jsonmessage: Format all test expected/actual strings with %q
The majority already did so, but a few used %v.

Compared with %v using %q escapes any control characters ensuring they are
visible in the logs (otherwise they can cause scrolling and overwriting etc).

The %q formatter also includes the surrounding "s making the manual use of []
to wrap/delimit the %v output unnecessary.

Signed-off-by: Ian Campbell <ian.campbell@docker.com>
2016-11-11 11:39:05 +00:00
..
jsonmessage.go pkg/jsonmessage: Avoid undefined ANSI escape codes. 2016-11-10 14:10:47 +00:00
jsonmessage_test.go pkg/jsonmessage: Format all test expected/actual strings with %q 2016-11-11 11:39:05 +00:00