Skip to content

Commit 9c0ef21

Browse files
committed
Remove NUnit checks
1 parent 2e11b80 commit 9c0ef21

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

MathParserTest/Test.cs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -165,25 +165,13 @@ public void BuiltInFunctions()
165165
}
166166

167167
[TestMethod]
168-
#if !NUNIT
169168
[ExpectedException(typeof(ArithmeticException))]
170-
#endif
171169
public void ExceptionCatching()
172170
{
173171
var parser = new MathParser();
174172

175-
#if NUNIT
176-
TestDelegate expectException = () =>
177-
{
178-
parser.Parse("(-1");
179-
parser.Parse("rem(20,1,,,,)");
180-
};
181-
182-
Assert.Throws(typeof(ArithmeticException), expectException);
183-
#else
184173
parser.Parse("(-1");
185174
parser.Parse("rem(20,1,,,,)");
186-
#endif
187175
}
188176

189177
[TestMethod]

0 commit comments

Comments
 (0)