summaryrefslogtreecommitdiff
path: root/src/lib/fmt/fmt_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/fmt/fmt_test.go')
-rw-r--r--src/lib/fmt/fmt_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/fmt/fmt_test.go b/src/lib/fmt/fmt_test.go
index ec1e9951b..4b423c617 100644
--- a/src/lib/fmt/fmt_test.go
+++ b/src/lib/fmt/fmt_test.go
@@ -45,6 +45,7 @@ var fmttests = []FmtTest{
// basic bytes
FmtTest{ "%s", Bytes("abc"), "abc" },
FmtTest{ "%x", Bytes("abc"), "616263" },
+ FmtTest{ "% x", Bytes("abc"), "61 62 63" },
FmtTest{ "%x", Bytes("xyz"), "78797a" },
FmtTest{ "%X", Bytes("xyz"), "78797A" },
FmtTest{ "%q", Bytes("abc"), `"abc"` },