Skip to content

Commit add56df

Browse files
committed
removed a too strict assertion that could change based on server strings changing.
1 parent 8592283 commit add56df

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

MongoDB.DriverUnitTests/CommandResults/CommandResultTests.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,6 @@ public void TestInvalidCommand()
179179
else
180180
{
181181
Assert.IsInstanceOf<MongoCommandException>(ex);
182-
Assert.IsTrue(ex.Message.StartsWith("Command 'invalid' failed: no such cmd", StringComparison.Ordinal));
183182
}
184183
}
185184
}

0 commit comments

Comments
 (0)