aports/community/nimble/fix-test.patch
2022-04-15 21:13:37 +02:00

12 lines
438 B
Diff

--- 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)":