diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2014-04-09 22:56:18 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2014-04-09 22:56:18 +0200 |
commit | a690e7b26772a9bb8367acb451a6250449e666ab (patch) | |
tree | 9aca0024db9c75970c4dfac10c55f1961c21ca25 /tests/misc/trawstr.nim | |
parent | d0f013477b16520eefff69b861d2f26744463880 (diff) | |
parent | a157985e01cbf80383d5e50836072d70678c9de3 (diff) | |
download | Nim-a690e7b26772a9bb8367acb451a6250449e666ab.tar.gz |
Merge pull request #1075 from flaviut/inlinedocs
Add some documentations and code examples in system
Diffstat (limited to 'tests/misc/trawstr.nim')
-rw-r--r-- | tests/misc/trawstr.nim | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/misc/trawstr.nim b/tests/misc/trawstr.nim new file mode 100644 index 000000000..ab2aae159 --- /dev/null +++ b/tests/misc/trawstr.nim @@ -0,0 +1,12 @@ +discard """ + file: "trawstr.nim" + line: 10 + errormsg: "closing \" expected" +""" +# Test the new raw strings: + +const + xxx = r"This is a raw string!" + yyy = "This not\" #ERROR + + |