8 / 8 lines covered (100.0%)
1unit module BDD::Behave::Matcher::Core;23use BDD::Behave::Matcher;45class BeMatcher does Matcher is export {6 has $.expected;78 method matches($actual --> Bool) {9 ?($actual ~~ $!expected);10 }1112 method expected-value(--> Mu) { $!expected }1314 method description(--> Str) { 'be ' ~ $!expected.raku }15}1617class EqMatcher does Matcher is export {18 has $.expected;1920 method matches($actual --> Bool) {21 ?($actual eqv $!expected);22 }2324 method expected-value(--> Mu) { $!expected }2526 method description(--> Str) { 'eq ' ~ $!expected.raku }27}