We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 90f1a4c commit f93e5b2Copy full SHA for f93e5b2
test/Compiler/QbScript/Parser/Tests.hs
@@ -83,6 +83,8 @@ litTests =
83
it "can parse a passthrough" $
84
parse lit "" "<...>" `shouldParse` LitPassthrough
85
-- TODO: maybe quickcheck these?
86
+ it "parses empty braces as a dictionary" $
87
+ parse lit "" "{ }" `shouldParse` LitDict (Dict [])
88
it "can parse a dictionary with a single kv member" $
89
parse lit "" "{ $deadbeef: x }" `shouldParse`
90
LitDict (Dict [(Just $ QbCrc 0xDEADBEEF, eLitKey "x")])
0 commit comments