diff options
Diffstat (limited to 'strings')
| -rw-r--r-- | strings/strings_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/strings/strings_test.go b/strings/strings_test.go index 03338cd8..6ee4064d 100644 --- a/strings/strings_test.go +++ b/strings/strings_test.go @@ -9,6 +9,7 @@ import ( func TestIndent(t *testing.T) { actual := "hello\nworld\n!" expected := " hello\n world\n !" + assert.Equal(t, actual, Indent(0, " ", actual)) assert.Equal(t, expected, Indent(1, " ", actual)) assert.Equal(t, "\n", Indent(1, " ", "\n")) assert.Equal(t, " foo\n", Indent(1, " ", "foo\n")) |
