aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ui/screen.lua
diff options
context:
space:
mode:
authorLucas Hoffmann <l-m-h@web.de>2015-05-19 16:11:32 +0200
committerJustin M. Keyes <justinkz@gmail.com>2015-06-21 00:34:51 -0400
commit7e7d78b2a60af64593c989c407bde977c9cb0233 (patch)
tree56350c1aac41fd3ffc107327b710e1b0bc7650fd /test/functional/ui/screen.lua
parent9ebb5c681b92c3c26171aa5514cd18a17dd62bad (diff)
downloadrneovim-7e7d78b2a60af64593c989c407bde977c9cb0233.tar.gz
rneovim-7e7d78b2a60af64593c989c407bde977c9cb0233.tar.bz2
rneovim-7e7d78b2a60af64593c989c407bde977c9cb0233.zip
doc: Fix some typos and trailing whitespace. #2875
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