-
-
Save Cside/9552f487222dfdc20992 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use Test::More; | |
use Test::Hook::Guard qw(before); | |
my $guard = before 'Some::method' => sub { | |
my (@args) = @_; | |
is_deeply \@args, [qw(foo bar baz)]; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment