Offline, privacy-first grammar checker. Fast, open-source, Rust-powered
tests(#331): change tests to have spelling issues
Grant Lemons1a8ed8df3894
diff --git a/harper-literate-haskell/tests/run_tests.rs b/harper-literate-haskell/tests/run_tests.rsindex 0bbe25c54..f367f66b3 100644--- a/harper-literate-haskell/tests/run_tests.rs+++ b/harper-literate-haskell/tests/run_tests.rs@@ -37,6 +37,6 @@ macro_rules! create_test {};}-create_test!(bird_format.lhs, 0);-create_test!(latex_format.lhs, 0);-create_test!(mixed_format.lhs, 0);+create_test!(bird_format.lhs, 2);+create_test!(latex_format.lhs, 2);+create_test!(mixed_format.lhs, 4);diff --git a/harper-literate-haskell/tests/test_sources/bird_format.lhs b/harper-literate-haskell/tests/test_sources/bird_format.lhsindex 641535318..4a9590c0a 100644--- a/harper-literate-haskell/tests/test_sources/bird_format.lhs+++ b/harper-literate-haskell/tests/test_sources/bird_format.lhs@@ -1,9 +1,9 @@Sourced from https://wiki.haskell.org/Literate_programming.-In Bird-style you have to leave a blank before the code.+In Bird-style you have to leave a blnk before the code.> fact :: Integer -> Integer> fact 0 = 1> fact n = n * fact (n-1)-And you have to leave a blank line after the code as well.+And you have to leave a blnk line after the code as well.diff --git a/harper-literate-haskell/tests/test_sources/latex_format.lhs b/harper-literate-haskell/tests/test_sources/latex_format.lhsindex 44fd441d1..17e703fae 100644--- a/harper-literate-haskell/tests/test_sources/latex_format.lhs+++ b/harper-literate-haskell/tests/test_sources/latex_format.lhs@@ -9,4 +9,4 @@ main :: IO ()main = print "just an example"\end{code}-See?+Seee?diff --git a/harper-literate-haskell/tests/test_sources/mixed_format.lhs b/harper-literate-haskell/tests/test_sources/mixed_format.lhsindex b89ef1268..051fa9ba8 100644--- a/harper-literate-haskell/tests/test_sources/mixed_format.lhs+++ b/harper-literate-haskell/tests/test_sources/mixed_format.lhs@@ -1,12 +1,12 @@Sourced from https://wiki.haskell.org/Literate_programming.-In Bird-style you have to leave a blank before the code.+In Bird-style you have to leave a blnk before the code.> fact :: Integer -> Integer> fact 0 = 1> fact n = n * fact (n-1)-And you have to leave a blank line after the code as well.+And you have to leave a blnk line after the code as well.And the definition of the following functionwould totally screw up my program, so I'm not@@ -17,4 +17,4 @@ main :: IO ()main = print "just an example"\end{code}-See?+Seee?