Skip to content

Commit cf0991a

Browse files
author
Jake Ginnivan
committed
Switched to normal assertion
1 parent eb2f42f commit cf0991a

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

TestStack.BDDfy.Tests/Scanner/FluentScanner/FluentWithExamples.ExampleTypeMismatch.approved.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

TestStack.BDDfy.Tests/Scanner/FluentScanner/FluentWithExamples.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public void ExampleTypeMismatch()
4545
})
4646
.BDDfy());
4747

48-
Approvals.Verify(ex.Message);
48+
ex.Message.ShouldBe("Wrong type: System.Object cannot be assigned to Int32");
4949
}
5050

5151
private void AndIUseA(string multiWordHeading)

0 commit comments

Comments
 (0)