mirror of
https://github.com/janet-lang/janet
synced 2026-09-17 14:51:22 +00:00
Begin update to 1.1.0.
This commit is contained in:
@@ -105,4 +105,12 @@
|
||||
(def res (resume f))
|
||||
(assert-error :abc (propagate res f) "propagate 1")
|
||||
|
||||
# table/clone
|
||||
|
||||
(defn check-table-clone [x msg]
|
||||
(assert (= (table/to-struct x) (table/to-struct (table/clone x))) msg))
|
||||
|
||||
(check-table-clone @{:a 123 :b 34 :c :hello : 945 0 1 2 3 4 5} "table/clone 1")
|
||||
(check-table-clone @{} "table/clone 1")
|
||||
|
||||
(end-suite)
|
||||
|
||||
Reference in New Issue
Block a user