diff options
author | Araq <rumpf_a@web.de> | 2018-12-10 15:50:38 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2018-12-11 21:23:25 +0100 |
commit | 34815a469735ef15390b034d4a806c7e69ac49e7 (patch) | |
tree | 3492bb27b86449e2279158d9d89504a52a6a5020 | |
parent | 916955dc9552456a365ad612d25ec775a5bc0d06 (diff) | |
download | Nim-34815a469735ef15390b034d4a806c7e69ac49e7.tar.gz |
megatest: make it green on Linux
-rw-r--r-- | tests/generics/tgenerics_issues.nim | 3 | ||||
-rw-r--r-- | tests/generics/tgenerics_various.nim | 3 | ||||
-rw-r--r-- | tests/generics/tparser_generator.nim | 1 | ||||
-rw-r--r-- | tests/lexer/tstrlits.nim | 3 | ||||
-rw-r--r-- | tests/macros/tsametype.nim | 1 | ||||
-rw-r--r-- | tests/magics/tmagics.nim | 7 |
6 files changed, 9 insertions, 9 deletions
diff --git a/tests/generics/tgenerics_issues.nim b/tests/generics/tgenerics_issues.nim index c215ea2c2..a1d464b97 100644 --- a/tests/generics/tgenerics_issues.nim +++ b/tests/generics/tgenerics_issues.nim @@ -24,12 +24,11 @@ G:0,1:0.1 G:0,1:0.1 H:1:0.1 ''' +joinable: false """ - import macros, sequtils, sets, sugar, tables, typetraits - block t88: type BaseClass[V] = object of RootObj diff --git a/tests/generics/tgenerics_various.nim b/tests/generics/tgenerics_various.nim index 5e18995f5..9e6186534 100644 --- a/tests/generics/tgenerics_various.nim +++ b/tests/generics/tgenerics_various.nim @@ -5,12 +5,11 @@ direct generic generic ''' +joinable: false """ - import algorithm, sugar, sequtils, typetraits, asyncdispatch - block tconfusing_arrow: type Deck = object value: int diff --git a/tests/generics/tparser_generator.nim b/tests/generics/tparser_generator.nim index a94506d62..8f8fea382 100644 --- a/tests/generics/tparser_generator.nim +++ b/tests/generics/tparser_generator.nim @@ -1,6 +1,7 @@ discard """ output: '''Match failed: spam Match failed: ham''' +joinable: false """ # bug #6220 diff --git a/tests/lexer/tstrlits.nim b/tests/lexer/tstrlits.nim index 004ebc0a7..8e8250a5b 100644 --- a/tests/lexer/tstrlits.nim +++ b/tests/lexer/tstrlits.nim @@ -16,5 +16,4 @@ const stdout.write(rawQuote) stdout.write(tripleEmpty) stdout.write(raw) -stdout.write(escaped) -#OUT a""long string"""""abc"def_'2'●𝌆𝌆A +stdout.writeLine(escaped) diff --git a/tests/macros/tsametype.nim b/tests/macros/tsametype.nim index 865fb4cb8..5219a3767 100644 --- a/tests/macros/tsametype.nim +++ b/tests/macros/tsametype.nim @@ -9,6 +9,7 @@ true false true false''' +joinable: false """ import macros diff --git a/tests/magics/tmagics.nim b/tests/magics/tmagics.nim index 841de56a5..fa138320c 100644 --- a/tests/magics/tmagics.nim +++ b/tests/magics/tmagics.nim @@ -8,20 +8,21 @@ true false true ''' +joinable: false """ block tlowhigh: type myEnum = enum e1, e2, e3, e4, e5 var a: array[myEnum, int] - + for i in low(a) .. high(a): a[i] = 0 - + proc sum(a: openarray[int]): int = result = 0 for i in low(a)..high(a): inc(result, a[i]) - + doAssert sum([1, 2, 3, 4]) == 10 |