mirror of https://github.com/janet-lang/janet
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