Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
coenm committed Sep 30, 2024
1 parent 21f86d2 commit 22dc0c8
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@ public async Task EvaluateAsync_ShouldThrowPredicateEvaluationException_WhenPred
Func<Task<bool>> act = async () => await sut.EvaluateAsync(templateEvaluator);

// assert
await act.Should().ThrowAsync<PredicateEvaluationException>().WithMessage("Could not evaluate predicate 'file.exists x' because <input>(1,6) : error : Cannot get the member file.exists for a null object.");
(await act.Should().ThrowAsync<PredicateEvaluationException>())
.WithMessage("Could not evaluate predicate 'file.exists x' because <input>(1,6) : error : Cannot get the member file.exists for a null object.")
.And.PredicateText.Should().Be("file.exists x");

}
}

Expand Down

0 comments on commit 22dc0c8

Please sign in to comment.