diff options
Diffstat (limited to 'ui/buffers_test.go')
-rw-r--r-- | ui/buffers_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/buffers_test.go b/ui/buffers_test.go index dc1cf02..b78f8e9 100644 --- a/ui/buffers_test.go +++ b/ui/buffers_test.go @@ -6,7 +6,7 @@ import ( ) func assertSplitPoints(t *testing.T, body string, expected []point) { - l := Line{body: body} + l := Line{Body: body} l.computeSplitPoints() if len(l.splitPoints) != len(expected) { @@ -71,7 +71,7 @@ func showSplit(s string, nls []int) string { } func assertNewLines(t *testing.T, body string, width int, expected int) { - l := Line{body: body} + l := Line{Body: body} l.computeSplitPoints() actual := l.NewLines(width) |