diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2018-07-22 16:33:11 -0700 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2018-07-22 16:33:11 -0700 |
| commit | d38020bc5ac0fe7b6ff060c62943c277d4beb3bf (patch) | |
| tree | 032a888313e2abc71cc8cbd3689aec202737d695 /tests/errors.nom | |
| parent | 5224199fcf017101de224574c0a6ab502d7dd772 (diff) | |
Actually removing the tests now that they're inline.
Diffstat (limited to 'tests/errors.nom')
| -rw-r--r-- | tests/errors.nom | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/tests/errors.nom b/tests/errors.nom deleted file mode 100644 index 000ee3e..0000000 --- a/tests/errors.nom +++ /dev/null @@ -1,16 +0,0 @@ -#!/usr/bin/env nomsu -V2.5.4.3 -# - Tests for the stuff defined in core/errors.nom - -try (barf) and if it succeeds (barf "try failed.") -%worked = (no) -try (barf) and if it barfs (%worked = (yes)) -assume %worked or barf "try/catch failed" -%x = 1 -try: - %x = 2 - do (barf) then always (%x = 3) -..and if it barfs (do nothing) - -assume (%x == 3) or barf "do/then always failed" -say "Error handling test passed." |
