Skip to content

Commit

Permalink
Better name for failed test
Browse files Browse the repository at this point in the history
  • Loading branch information
danburg committed Jan 29, 2023
1 parent b54378a commit 62536e6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions msvc_test/source/basic_functionality.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -328,8 +328,8 @@ namespace snct_constrained
Assert::IsFalse(ctor_threw_other_exception);
}


TEST_METHOD(when_any_constraint_is_not_satisfied_even_if_the_last_constraint_is_satisfied) {
TEST_METHOD(on_the_first_violated_constraint_even_if_later_constraints_are_satisfied) {

// Arrange
using ShouldThrowConstraintException = snct::Constrained<double, InvalidConstraint_One, ValidConstraint_One>;
Expand Down Expand Up @@ -454,7 +454,7 @@ namespace snct_constrained
Assert::IsFalse(opt.has_value());
}

TEST_METHOD(when_any_constraint_is_not_satisfied_even_if_the_last_constraint_is_satisfied) {
TEST_METHOD(on_the_first_violated_constraint_even_if_later_constraints_are_satisfied) {

// Arrange
using ShouldReturnNullopt = snct::Constrained<double, InvalidConstraint_One, ValidConstraint_One>;
Expand Down

0 comments on commit 62536e6

Please sign in to comment.