Brian Wignall
a7aeabb9d2
[backport] Fix spelling typos ( #12755 )
2019-11-28 08:30:55 +01:00
Araq
80b508d337
test suite: rename tests containing 'fail' for easier search in logs
2019-11-26 16:04:28 +01:00
Federico Ceratto
39290cf88c
Fix spellings ( #12277 ) [backport]
2019-09-27 07:02:54 +02:00
alaviss
2c10b246ec
assertions: fixes #11545 ( #11605 )
...
* assertions: properly fix #11545
* tests/assert: enable excessiveStackTrace
* tests/assert: add test case for #11545
* tfailedassert_stacktrace: disable excessiveStackTrace
* assertions: weird workaround for failing tests
This fixes megatest on *nix, but have no idea why
2019-07-01 13:19:07 +02:00
Miran
84d3f3d448
move system.dollars in a separate file ( #10829 )
2019-03-13 15:59:09 +01:00
Miran
2b5e48d807
move assertions and iterators out of system.nim ( #10597 )
...
* move assertions and iterators out of system.nim
* limit nimsuggest tests to the first 3 suggestions
2019-03-07 00:49:39 +01:00
Arne Döring
1105d03644
require errormsg to be specified before file.
2018-12-11 21:23:21 +01:00
Randy Smith
6c7abe6e5b
Fixes #9671 ( #9750 )
2018-11-19 09:22:21 +01:00
Timothee Cour
3e2d8c1c53
correctly render AST in doAssert/assert condition: fixes #8518 ; refs #9301 ( #9332 )
...
* fixes #8518 ; refs #9301 ; correctly render AST in doAssert condition
2018-10-14 00:17:10 +02:00
Araq
e4902a4a35
make tfailedassert_stacktrace.nim more robust
2018-09-15 10:06:02 +02:00
Ganesh Viswanathan
f4356d6115
Fix system.nim line number test case failure
2018-09-12 12:58:50 -05:00
Timothee Cour
72170b443d
add testcase
2018-09-11 11:52:51 -07:00
Timothee Cour
3a626179ee
doAssert, assert now print full path of failing line on error ( #8555 )
2018-08-25 21:48:37 +02:00
awr1
bf973d29da
Fixes #8719 (onFailedAssert now works for doAssert) ( #8731 )
2018-08-23 10:20:58 +02:00
Andreas Rumpf
0926754e68
make tests green again
2018-07-05 15:51:04 +02:00
PMunch
4f1725ad61
Add column number to instantiation info ( #7376 )
...
* Add column number to instantiation info
Instantiation info left out column number for no good reason. This adds
it in as the third element of the tuple.
* Fix test that failed and added change to changelog
An assertion test failed because it was declaring a type that was
expected to be populated by instantiationInfo with the old signature.
Also added the changes to the changelog as it is a breaking change.
2018-04-12 20:02:04 +02:00
Arne Döring
000b8afd26
Remove expr/stmt ( #5857 )
2017-07-25 09:28:23 +02:00
Andreas Rumpf
bc9015df50
make tests green again
2016-11-24 11:48:23 +01:00
Yuriy Glukhov
e61cfea78b
Fixed broken test. Added closureScope test.
2016-06-28 13:15:02 +03:00
Adam Strzelecki
e80465dacf
tests: Trim .nim files trailing whitespace
...
via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
2015-09-04 23:04:32 +02:00
Araq
3a9500f7b1
fixes #2500
2015-04-10 14:03:47 +02:00
def
69e2b61c0a
Fix tests a bit more
2015-03-10 15:34:15 +01:00
Araq
24ae0c387f
some love for the testsuite; fixed regressions
2015-03-01 21:41:21 +01:00
def
4fbf47ca5e
Clean up tests/assert
...
1 test still fails:
- tunittests uses utemplates, which seems broken. not sure what it's
supposed to do
2015-02-04 20:30:09 +01:00
Simon Hafner
9c12ad0187
typo fix
2015-01-27 13:02:05 -06:00
Araq
6713ebcd98
tester compiles again
2014-08-29 01:12:18 +02:00
Araq
4ab56d6be0
some minor fixes
2014-08-14 22:22:04 +02:00
Dominik Picheta
152fcc8ec4
Change the expected path in tfailedassert.
...
This will cause this test to fail on Linux. The behaviour on Windows is
however correct, the filename returned by instantiationInfo is the
projPath defined as being "relative to the project's root".
2014-04-06 23:57:20 +01:00
Zahary Karadjov
3c840102bc
fix the error "only proc headers can feature pragmas" when compiling in JS mode
2014-01-23 00:02:57 +02:00
Araq
5073914b86
unittest module works again
2014-01-18 00:58:59 +01:00
Araq
20b5f31c03
new tester; all tests categorized
2014-01-13 02:10:03 +01:00