Skip to content

Commit 83cc36f

Browse files
committed
Fix be_within_spec
1 parent 4e67194 commit 83cc36f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/matchers/be_within_spec.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ describe be_within_spec("expect(actual).to_be_within(delta).of(expected)", $ {
7575

7676
it("fails when actual is outside the given percent variance", _ {
7777
auto base_formatter = Formatters::BaseFormatter();
78-
auto ex = ExpectationValue(self, 20.1, std::source_location::current()).ignore();
78+
auto ex = ExpectationValue(20.1, std::source_location::current());
7979
auto matcher = Matchers::BeWithinHelper(ex, 10).percent_of(10.0);
8080
expect(matcher.run()).to_fail_with("expected 20.1 to be within 10% of 10");
8181
});

0 commit comments

Comments
 (0)