1
0
mirror of https://github.com/janet-lang/janet synced 2024-12-23 06:50:26 +00:00

Add test case for missing struct proto

This commit is contained in:
Calvin Rose 2021-11-23 23:17:24 -06:00
parent e08394c870
commit 868ec1a7e3

View File

@ -213,4 +213,7 @@
(loop [v :iterate (parser/produce p2)])
(parser/state p2)
# Check missing struct proto bug.
(assert (struct/getproto (struct/with-proto {:a 1} :b 2 :c nil)) "missing struct proto")
(end-suite)