1package display
2
3import "testing"
4
5// TestIndent asserts that Indent prepends a tab to each line
6func TestIndent(t *testing.T) {
7	got := Indent("foo\nbar\nbaz")
8	want := "\tfoo\n\tbar\n\tbaz\n"
9	if got != want {
10		t.Errorf("failed to indent: want: %s, got: %s", want, got)
11	}
12}
13