mirror of
https://github.com/janet-lang/janet
synced 2025-10-23 11:47:40 +00:00
Better working panic implementation and more cleanup in main vm loop.
This commit is contained in:
@@ -110,5 +110,6 @@
|
||||
(assert (= 2 (@{:ok 2} :ok)) "calling table")
|
||||
(assert (= :bad (try (@{:ok 2} :ok :no) ([err] :bad))) "calling table too many arguments")
|
||||
(assert (= :bad (try (:ok @{:ok 2} :no) ([err] :bad))) "calling keyword too many arguments")
|
||||
(assert (= :oops (try (1 1) ([err] :oops))) "calling number fails")
|
||||
|
||||
(end-suite)
|
||||
|
Reference in New Issue
Block a user