Merge pull request #428 from heytitle/master
Perl: Adds dump and subtest snippets.
This commit is contained in:
commit
66df4bf08f
@ -349,3 +349,11 @@ snippet debug_trace
|
|||||||
require Carp; Carp::confess
|
require Carp; Carp::confess
|
||||||
};
|
};
|
||||||
|
|
||||||
|
snippet dump
|
||||||
|
use Data::Dump qw(dump);
|
||||||
|
warn dump ${1:variable}
|
||||||
|
|
||||||
|
snippet subtest
|
||||||
|
subtest '${1: test_name}' => sub {
|
||||||
|
${2}
|
||||||
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user