diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2018-10-16 17:21:41 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2018-10-16 17:21:41 +0200 |
commit | 778e4d1775be16732cff396c9db4701d96d4e753 (patch) | |
tree | 3eceed8417a1f938b84e37c7bbee7489e12ee4c5 /nimpretty/tests | |
parent | f3c0703b7d563a86757fd92d0707be4309787f53 (diff) | |
download | Nim-778e4d1775be16732cff396c9db4701d96d4e753.tar.gz |
nimpretty: fixes #9144
Diffstat (limited to 'nimpretty/tests')
-rw-r--r-- | nimpretty/tests/expected/simple.nim | 4 | ||||
-rw-r--r-- | nimpretty/tests/simple.nim | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/nimpretty/tests/expected/simple.nim b/nimpretty/tests/expected/simple.nim new file mode 100644 index 000000000..75f570bac --- /dev/null +++ b/nimpretty/tests/expected/simple.nim @@ -0,0 +1,4 @@ + +var x: int = 2 + +echo x # bug #9144 diff --git a/nimpretty/tests/simple.nim b/nimpretty/tests/simple.nim new file mode 100644 index 000000000..9e3c52f9b --- /dev/null +++ b/nimpretty/tests/simple.nim @@ -0,0 +1,5 @@ + +var x: int = 2 + +echo x +# bug #9144 |