public void ParseTest4() { var target = new CommentComponent(); Assert.Throws <IncorrectSyntaxException>(() => target.Eval("test") ); Assert.Throws <IncorrectSyntaxException>(() => target.Eval("") ); }
public void ParseTest2() { var target = new CommentComponent(); Assert.Equal(Value.Empty, target.Eval("[\"line1 \n line2\"]")); }