Skip to content

Commit 004cfcb

Browse files
committed
prop
1 parent 33fb7d3 commit 004cfcb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/sci/interop_test.cljc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,4 +376,5 @@
376376

377377
#?(:cljs
378378
(deftest issue-987-test
379-
(is (= 1 (sci/eval-string "(def x #js {:foo_bar 1}) (.-foo-bar x)" {:classes {:allow :all}})))))
379+
(is (= 1 (sci/eval-string "(def x #js {:foo_bar 1}) (.-foo-bar x)" {:classes {:allow :all}})))
380+
(is (= 1 (sci/eval-string "(def x #js {:foo_bar (fn [] 1)}) (.foo-bar x)" {:classes {:allow :all}})))))

0 commit comments

Comments
 (0)