typo: nonexistant => nonexistent (#17918)

* typo: nonexistant => nonexistent

* fix test (ordering differs because of https://github.com/nim-lang/Nim/issues/17910)
This commit is contained in:
Timothee Cour 2021-05-01 15:26:41 -07:00 • committed by GitHub
commit 78e2d299df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 38 additions and 38 deletions

View file

@ -142,7 +142,7 @@ suite "YAML syntax highlighting":
test "Directives: warnings":
let input = dedent"""
.. non-existant-warning: Paragraph.
.. non-existent-warning: Paragraph.
.. another.wrong:warning::: Paragraph.
"""
@ -151,7 +151,7 @@ suite "YAML syntax highlighting":
check output == ""
doAssert warnings[].len == 2
check "(1, 24) Warning: RST style:" in warnings[0]
check "double colon :: may be missing at end of 'non-existant-warning'" in warnings[0]
check "double colon :: may be missing at end of 'non-existent-warning'" in warnings[0]
check "(3, 25) Warning: RST style:" in warnings[1]
check "RST style: too many colons for a directive (should be ::)" in warnings[1]