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
1 changed files with 3 additions and 0 deletions

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)