Merge pull request #428 from heytitle/master

Perl: Adds dump and subtest snippets.
This commit is contained in:
Holger Rapp 2014-08-29 07:32:57 +02:00
commit 66df4bf08f

View File

@ -349,3 +349,11 @@ snippet debug_trace
require Carp; Carp::confess
};
snippet dump
use Data::Dump qw(dump);
warn dump ${1:variable}
snippet subtest
subtest '${1: test_name}' => sub {
${2}
};