Skip to content

Commit

Permalink
#24: Add malformed expr test case
Browse files Browse the repository at this point in the history
  • Loading branch information
jumpinjackie committed Dec 20, 2021
1 parent fd6967c commit 82e13cf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions OSGeo.MapGuide.MaestroAPI.Tests/ExpressionTests.cs
Expand Up @@ -26,6 +26,12 @@ namespace OSGeo.MapGuide.MaestroAPI.Tests
{
public class ExpressionTests
{
[Fact]
public void TestMalformedExpression()
{
Assert.Throws<FdoMalformedExpressionException>(() => FdoExpression.Parse("!sdfj"));
}

[Fact]
public void TestExpressionParse()
{
Expand Down

0 comments on commit 82e13cf

Please sign in to comment.