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:
parent
e08394c870
commit
868ec1a7e3
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user