1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-21 18:25:41 +03:00
aports/community/nimble/fix-test.patch
2022-04-15 21:13:37 +02:00

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