diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2019-04-05 12:38:18 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2019-04-05 12:38:30 +0200 |
commit | efeee326f821f1af69279e23d019ca0a132fa3f5 (patch) | |
tree | 434cc7ded4a0f99700bb123f564cd3b2cb8b37bf /tests/destructor | |
parent | 3e3a8bd4cddf3bc188153a82c5f53b7921bb6ae9 (diff) | |
download | Nim-efeee326f821f1af69279e23d019ca0a132fa3f5.tar.gz |
destructors: progress
Diffstat (limited to 'tests/destructor')
-rw-r--r-- | tests/destructor/tgcdestructors.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/destructor/tgcdestructors.nim b/tests/destructor/tgcdestructors.nim index 31631ac80..4b7f4ccb4 100644 --- a/tests/destructor/tgcdestructors.nim +++ b/tests/destructor/tgcdestructors.nim @@ -3,7 +3,7 @@ discard """ output: '''hi ho ha -1 1''' +7 1''' """ import allocators @@ -75,7 +75,7 @@ iterator interpolatedFragments*(s: string): tuple[kind: InterpolatedKind, break i = j -when false: +when true: let input = "$test{} $this is ${an{ example}} " let expected = @[(ikVar, "test"), (ikStr, "{} "), (ikVar, "this"), (ikStr, " is "), (ikExpr, "an{ example}"), (ikStr, " ")] |