Unit Tests
- Fixed hook tests that broke when 'hooks' was renamed to 'extensions'.
This commit is contained in:
@@ -34,7 +34,7 @@ use Test::More tests => 8;
|
|||||||
if (open my $fh, '>', 'hook.rc')
|
if (open my $fh, '>', 'hook.rc')
|
||||||
{
|
{
|
||||||
print $fh "data.location=.\n",
|
print $fh "data.location=.\n",
|
||||||
"hooks=on\n",
|
"extensions=on\n",
|
||||||
"hook.on-exit=" . $ENV{'PWD'} . "/hook:test\n";
|
"hook.on-exit=" . $ENV{'PWD'} . "/hook:test\n";
|
||||||
close $fh;
|
close $fh;
|
||||||
ok (-r 'hook.rc', 'Created hook.rc');
|
ok (-r 'hook.rc', 'Created hook.rc');
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ use Test::More tests => 8;
|
|||||||
if (open my $fh, '>', 'hook.rc')
|
if (open my $fh, '>', 'hook.rc')
|
||||||
{
|
{
|
||||||
print $fh "data.location=.\n",
|
print $fh "data.location=.\n",
|
||||||
"hooks=on\n",
|
"extensions=on\n",
|
||||||
"hook.on-launch=" . $ENV{'PWD'} . "/hook:test\n";
|
"hook.on-launch=" . $ENV{'PWD'} . "/hook:test\n";
|
||||||
close $fh;
|
close $fh;
|
||||||
ok (-r 'hook.rc', 'Created hook.rc');
|
ok (-r 'hook.rc', 'Created hook.rc');
|
||||||
|
|||||||
Reference in New Issue
Block a user