diff options
Diffstat (limited to 'community/nimble/fix-test.patch')
-rw-r--r-- | community/nimble/fix-test.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/community/nimble/fix-test.patch b/community/nimble/fix-test.patch new file mode 100644 index 00000000000..c63e5b4c237 --- /dev/null +++ b/community/nimble/fix-test.patch @@ -0,0 +1,11 @@ +--- a/tests/tester.nim ++++ b/tests/tester.nim +@@ -278,7 +278,7 @@ + cd "invalidPackage": + let (output, exitCode) = execNimble("check") + let lines = output.strip.processOutput() +- check(lines[^2].contains("undeclared identifier: 'thisFieldDoesNotExist'")) ++ check(lines[^5].contains("undeclared identifier: 'thisFieldDoesNotExist'")) + check exitCode == QuitFailure + + test "can accept short flags (#329)": |