doc: Fix some typos and trailing whitespace. #2875

This commit is contained in:
Lucas Hoffmann
2015-05-19 16:11:32 +02:00
committed by Justin M. Keyes
parent 9ebb5c681b
commit 7e7d78b2a6
4 changed files with 24 additions and 24 deletions

View File

@@ -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