From 7e7d78b2a60af64593c989c407bde977c9cb0233 Mon Sep 17 00:00:00 2001 From: Lucas Hoffmann Date: Tue, 19 May 2015 16:11:32 +0200 Subject: doc: Fix some typos and trailing whitespace. #2875 --- test/functional/ui/screen.lua | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'test/functional/ui/screen.lua') diff --git a/test/functional/ui/screen.lua b/test/functional/ui/screen.lua index ca6cac1ba3..9635f6119c 100644 --- a/test/functional/ui/screen.lua +++ b/test/functional/ui/screen.lua @@ -67,16 +67,16 @@ -- -- NonText = Screen.colors.Blue -- screen:expect([[ --- hello screen \ --- ~ \ --- ~ \ --- ~ \ --- ~ \ --- ~ \ --- ~ \ --- ~ \ --- ~ \ --- {b:-- INSERT --} \ +-- hello screen | +-- ~ | +-- ~ | +-- ~ | +-- ~ | +-- ~ | +-- ~ | +-- ~ | +-- ~ | +-- {b:-- INSERT --} | -- ]], {b = {bold = true}}, {{bold = true, foreground = NonText}}) -- -- In this case "b" is a string associated with the set composed of one @@ -221,7 +221,7 @@ function Screen:expect(expected, attr_ids, attr_ignore) local expected_row = expected_rows[i] local actual_row = self:_row_repr(self._rows[i], ids, ignore) if expected_row ~= actual_row then - return 'Row '..tostring(i)..' didnt match.\nExpected: "'.. + return 'Row '..tostring(i)..' didn\'t match.\nExpected: "'.. expected_row..'"\nActual: "'..actual_row..'"' end end -- cgit