Andreas Rumpf
e68adca0c9
fixes #6777 ( #11347 )
2019-05-28 22:00:01 +02:00
Andreas Rumpf
ef8ddef47b
fixes #10912 ( #11317 )
...
* fixes #10912
* update the tutorial examples
2019-05-24 18:33:53 +02:00
Miran
afeca3d9fe
multi-methods need to be explicitly enabled ( #10856 )
...
* multi-methods need to be explicitly enabled
* update changelog, manual and tutorial
2019-03-18 08:21:37 +01:00
Timothee Cour
ab72d68ec8
fix off by 1 error in col shown by toFileLineCol ( #10138 )
...
* fix off by 1 error in `col` shown by toFileLineCol
* fix test failures
2018-12-31 15:42:01 +01:00
Araq
0d99ff6113
testament megatest: furher refactorings making more tests green
2018-12-11 21:23:24 +01:00
Andreas Rumpf
ac785b0623
testament: joinable is now an explicit concept of a test spec
2018-12-11 21:23:24 +01:00
Arne Döring
1105d03644
require errormsg to be specified before file.
2018-12-11 21:23:21 +01:00
Miran
1b17c9f693
More descriptive names of test files ( #9531 )
...
* change generic `tissues` name to more specific
* change `tvarious` to more specific names
2018-10-29 17:07:27 +01:00
Miran
749dbce4c6
Merge tests into a larger file (part 5 of ∞) ( #9368 )
...
* merge magics
* merge metatype tests
* merge method tests
* merge objects tests
* change `import future` to `import sugar`
Nim in Action tests are left with `import future`, to ensure compatibility.
* merge overload tests
* merge proc tests
* merge procvar tests
* merge range tests
* merge seq tests
* merge sets tests
* remove wrong assert from `tsets3`
* fix `jsTests`
* better fix
2018-10-16 10:50:10 +02:00
Araq
7ac1e6e528
fixes #5479
2018-10-02 23:31:39 +02:00
Andreas Rumpf
0926754e68
make tests green again
2018-07-05 15:51:04 +02:00
Andreas Rumpf
87f548c5f4
make more tests green
2018-04-30 02:56:19 +02:00
Andreas Rumpf
f151b7efd1
added missing test for methods
2017-09-28 21:52:23 +02:00
Arne Döring
52f092d02b
Lineinfo change ( #6084 )
2017-07-17 08:12:15 +02:00
Araq
d91d338d03
fixes #5432
2017-02-26 00:32:07 +01:00
Araq
fa98edc78c
another attempt to make test green again
2017-02-24 15:52:52 +01:00
Andreas Rumpf
bc9015df50
make tests green again
2016-11-24 11:48:23 +01:00
Andreas Rumpf
f5fa5dae85
generic multi-methods should work now
2016-07-28 20:23:24 +02:00
trustable-code
3c557a0144
fix issue #3550
2015-12-24 00:07:03 +01:00
Araq
aa36e73ecf
fixes #3431 , fixes #3370 , fixes #3468
2015-10-25 02:22:50 +01:00
Aman Gupta
82a04051bb
fix failure in tests/method/tmapper.nim
...
FAIL: tmapper.nim
Test "tests/method/tmapper.nim" in category "method"
Failure: reMsgsDiffer
Expected:
invalid declaration order; cannot attach 'step' to method defined here: tmapper.nim(22,7)
Gotten:
invalid declaration order; cannot attach 'step' to method defined here: tests/method/tmapper.nim(22,7)
2015-09-30 20:13:38 -07:00
Araq
b1a55d83ec
added missing test
2015-09-06 02:32:39 +02:00
Araq
dc047931bb
fixes #2590 ; methods now require a .base annotation
2015-09-06 02:31:28 +02: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
94f2d639b1
fixes #2401
2015-03-25 13:05:32 +01:00
Araq
105a0616a9
implemented procCall builtin
2014-11-28 02:43:41 +01:00
Reimer Behrends
ce9a57fcfd
Fix dispatcher creation for method prototypes.
...
When method prototypes were involved (e.g. forward declarations
for mutual recursion), calls were sometimes dispatched to the
wrong method implementation. One of the reasons was that method
dispatchers were then not always attached to method ASTs in
the correct place.
2014-11-02 23:35:41 +01:00
Reimer Behrends
bce2d57d95
Added test case for recursive methods.
2014-11-02 15:37:16 +01:00
Clay Sweetser
ce5a494927
Changed tests and tools to use 'discard' statements instead of 'nil' for empty blocks.
2014-02-15 18:57:03 -05:00
Araq
20b5f31c03
new tester; all tests categorized
2014-01-13 02:10:03 +01:00