We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6f172e commit a126eadCopy full SHA for a126ead
spec/matchers/be_within_spec.cpp
@@ -75,7 +75,7 @@ describe be_within_spec("expect(actual).to_be_within(delta).of(expected)", $ {
75
76
it("fails when actual is outside the given percent variance", _ {
77
auto base_formatter = Formatters::BaseFormatter();
78
- auto ex = ExpectationValue(self, 20.1, std::source_location::current()).ignore();
+ auto ex = ExpectationValue(20.1, std::source_location::current());
79
auto matcher = Matchers::BeWithinHelper(ex, 10).percent_of(10.0);
80
expect(matcher.run()).to_fail_with("expected 20.1 to be within 10% of 10");
81
});
0 commit comments