Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Oldes committed Nov 25, 2020
1 parent 13f27e7 commit 285ae9b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/tests/units/module-test.r3
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,13 @@ unless find system/options/module-paths modules-test-dir [
module [] body: [export 'b]
--assert body = ['b]

--test-- "make module type assertion"
;@@ https://github.com/Oldes/Rebol-issues/issues/1444
--assert all [
error? err: try [module [type: :print][]]
err/id = 'wrong-type
]

===end-group===


Expand Down

0 comments on commit 285ae9b

Please sign in to comment.