summaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorMo Zhou <cdluminate@gmail.com>2018-09-06 04:09:48 (GMT)
committerMo Zhou <cdluminate@gmail.com>2018-09-06 04:09:48 (GMT)
commit33448c830bc0c72a1bee767934121c08f45d45a7 (patch)
tree46ed06783d153e21224ed47f0086bd49a450ebdb /misc
parentca041d88f4d610332aa48c801342edfafb622ccb (diff)
downloadNinja-33448c830bc0c72a1bee767934121c08f45d45a7.zip
Ninja-33448c830bc0c72a1bee767934121c08f45d45a7.tar.gz
Ninja-33448c830bc0c72a1bee767934121c08f45d45a7.tar.bz2
Misc typo fixes by https://github.com/codespell-project/codespell/
Diffstat (limited to 'misc')
-rw-r--r--misc/ninja-mode.el2
-rwxr-xr-xmisc/ninja_syntax_test.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/misc/ninja-mode.el b/misc/ninja-mode.el
index 639e537..8b975d5 100644
--- a/misc/ninja-mode.el
+++ b/misc/ninja-mode.el
@@ -56,7 +56,7 @@
(save-excursion
(goto-char (line-end-position 0))
(or
- ;; If we're continuting the previous line, it's not a
+ ;; If we're continuing the previous line, it's not a
;; comment.
(not (eq ?$ (char-before)))
;; Except if the previous line is a comment as well, as the
diff --git a/misc/ninja_syntax_test.py b/misc/ninja_syntax_test.py
index 07e3ed3..90ff9c6 100755
--- a/misc/ninja_syntax_test.py
+++ b/misc/ninja_syntax_test.py
@@ -46,13 +46,13 @@ class TestLineWordWrap(unittest.TestCase):
self.out.getvalue())
def test_comment_wrap(self):
- # Filenames shoud not be wrapped
+ # Filenames should not be wrapped
self.n.comment('Hello /usr/local/build-tools/bin')
self.assertEqual('# Hello\n# /usr/local/build-tools/bin\n',
self.out.getvalue())
def test_short_words_indented(self):
- # Test that indent is taking into acount when breaking subsequent lines.
+ # Test that indent is taking into account when breaking subsequent lines.
# The second line should not be ' to tree', as that's longer than the
# test layout width of 8.
self.n._line('line_one to tree')