1
0
mirror of https://github.com/janet-lang/janet synced 2025-04-05 06:46:56 +00:00

Merge pull request #907 from pyrmont/bugfix.redefs-typo

Fix 'redefs' typo in test suite
This commit is contained in:
Calvin Rose 2022-01-08 10:51:17 -06:00 committed by GitHub
commit 7c407705e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -315,9 +315,9 @@
(assert (= 1 (staticdef2-inc)) "after redefinition with :redef false")
(def dynamicdef2 0)
(defn dynamicdef2-inc [] (+ 1 dynamicdef2))
(assert (= 1 (dynamicdef2-inc)) "before redefinition with dyn :redefs")
(assert (= 1 (dynamicdef2-inc)) "before redefinition with dyn :redef")
(def dynamicdef2 1)
(assert (= 2 (dynamicdef2-inc)) "after redefinition with dyn :redefs")
(assert (= 2 (dynamicdef2-inc)) "after redefinition with dyn :redef")
(setdyn :redef nil)
# Denormal tables and structs