Skip to content

Commit

Permalink
Add test for parsing empty groups
Browse files Browse the repository at this point in the history
  • Loading branch information
gsomix committed Feb 25, 2017
1 parent c4caf53 commit 17dad77
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/WpfMath.Tests/ParserTests.fs
Original file line number Diff line number Diff line change
Expand Up @@ -127,4 +127,10 @@ type ParserTests() =
<| (formula <| row [
op (symbolOp "int") (System.Nullable ())
char 'f'
])
])

[<Fact>]
let ``{} should be parsed properly`` () =
assertParseResult
<| @"{}"
<| (formula <| group (row []))

0 comments on commit 17dad77

Please sign in to comment.