aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ui/screen.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/ui/screen.lua')
-rw-r--r--test/functional/ui/screen.lua22
1 files changed, 11 insertions, 11 deletions
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