Adds highlite to tests suite.
This commit is contained in:
parent
4c7607e074
commit
579d0f6f41
2 changed files with 3 additions and 1 deletions
|
|
@ -556,5 +556,5 @@ when isMainModule:
|
||||||
doAssert (not keywords.isNil, "Couldn't read any keywords.txt file!")
|
doAssert (not keywords.isNil, "Couldn't read any keywords.txt file!")
|
||||||
doAssert keywords.len == nimrodKeywords.len, "No matching lengths"
|
doAssert keywords.len == nimrodKeywords.len, "No matching lengths"
|
||||||
for i in 0..keywords.len-1:
|
for i in 0..keywords.len-1:
|
||||||
echo keywords[i], " == ", nimrodKeywords[i]
|
#echo keywords[i], " == ", nimrodKeywords[i]
|
||||||
doAssert keywords[i] == nimrodKeywords[i], "Unexpected keyword"
|
doAssert keywords[i] == nimrodKeywords[i], "Unexpected keyword"
|
||||||
|
|
|
||||||
|
|
@ -194,6 +194,8 @@ proc runSpecialTests(r: var TResults, options: string) =
|
||||||
|
|
||||||
for t in os.walkFiles("tests/patterns/t*.nim"):
|
for t in os.walkFiles("tests/patterns/t*.nim"):
|
||||||
runSingleTest(r, t, options)
|
runSingleTest(r, t, options)
|
||||||
|
for t in ["lib/packages/docutils/highlite"]:
|
||||||
|
runSingleTest(r, t, options)
|
||||||
|
|
||||||
proc rejectSpecialTests(r: var TResults, options: string) =
|
proc rejectSpecialTests(r: var TResults, options: string) =
|
||||||
rejectThreadTests(r, options)
|
rejectThreadTests(r, options)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue