Skip to content

Commit

Permalink
But why though
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisrink10 committed Jun 15, 2020
1 parent b35852e commit 972d925
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/basilisp/test_defrecord.lpy
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@

(deftest deftype-reader-form
(testing "type"
(is (= (->Square 5) #tests.basilisp.defrecord-test.Square[5])))
(is (= (->Square 5) #tests.basilisp.test-defrecord.Square[5])))

(testing "illegal other forms"
(is (thrown? basilisp.lang.reader/SyntaxError
(read-string "#tests.basilisp.defrecord-test.Square{:dim 5}")))))
(read-string "#tests.basilisp.test-defrecord.Square{:dim 5}")))))

(defrecord Point [x y z])

Expand Down

0 comments on commit 972d925

Please sign in to comment.