diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2018-05-28 11:24:37 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2018-05-28 11:24:37 +0200 |
commit | 5db01f7abe960da9430a0440c2b579ad0f2d05bd (patch) | |
tree | 1bd502e59e13cf15d0f17d97affa751f5d7dc2b2 /tests | |
parent | 3221ac094398492e09ea618638204793b0990eca (diff) | |
parent | b6b6382e0b4f86759d07a1be150a826b9e0fe054 (diff) | |
download | Nim-5db01f7abe960da9430a0440c2b579ad0f2d05bd.tar.gz |
Merge branch 'devel' of github.com:nim-lang/Nim into devel
Diffstat (limited to 'tests')
-rw-r--r-- | tests/stdlib/tunittestexceptiontype.nim | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/stdlib/tunittestexceptiontype.nim b/tests/stdlib/tunittestexceptiontype.nim new file mode 100644 index 000000000..e05a25409 --- /dev/null +++ b/tests/stdlib/tunittestexceptiontype.nim @@ -0,0 +1,10 @@ +discard """ + exitcode: 1 + outputsub: '''exception type is [ValueError]''' +""" + +import unittest + +suite "exception from test": + test "show exception type": + raise newException(ValueError, "exception type is") |