summaryrefslogtreecommitdiff
path: root/spew/spew_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'spew/spew_test.go')
-rw-r--r--spew/spew_test.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/spew/spew_test.go b/spew/spew_test.go
index bbb531b..3831ed2 100644
--- a/spew/spew_test.go
+++ b/spew/spew_test.go
@@ -182,12 +182,12 @@ func initSpewTests() {
{scsMaxDepth, fCSFprint, "", dt, "{{<max>} [<max>] [<max>] map[<max>]}"},
{scsMaxDepth, fCSFdump, "", dt, "(spew_test.depthTester) {\n" +
" ic: (spew_test.indirCir1) {\n <max depth reached>\n },\n" +
- " arr: ([1]string) {\n <max depth reached>\n },\n" +
- " slice: ([]string) {\n <max depth reached>\n },\n" +
- " m: (map[string]int) {\n <max depth reached>\n }\n}\n"},
+ " arr: ([1]string) (len=1 cap=1) {\n <max depth reached>\n },\n" +
+ " slice: ([]string) (len=1 cap=1) {\n <max depth reached>\n },\n" +
+ " m: (map[string]int) (len=1) {\n <max depth reached>\n }\n}\n"},
{scsContinue, fCSFprint, "", ts, "(stringer test) test"},
{scsContinue, fCSFdump, "", ts, "(spew_test.stringer) " +
- "(stringer test) \"test\"\n"},
+ "(len=4) (stringer test) \"test\"\n"},
{scsContinue, fCSFprint, "", te, "(error: 10) 10"},
{scsContinue, fCSFdump, "", te, "(spew_test.customError) " +
"(error: 10) 10\n"},