Skip to content
This repository was archived by the owner on Dec 22, 2021. It is now read-only.

Commit 33c1170

Browse files
committed
Merge pull request #50 from cheese/master
Relax a string test pattern; Use like instead of ok.
2 parents 653d0d7 + 830efb9 commit 33c1170

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/db.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ my $hello = $db->eval('function(x) { return "hello, "+x; }', ["world"]);
4343
is('hello, world', $hello, 'db eval');
4444

4545
my $err = $db->eval('function(x) { xreturn "hello, "+x; }', ["world"]);
46-
ok($err =~ /compile failed: JS Error/, 'js err');
46+
like($err, qr/compile failed/, 'js err');
4747

4848
# tie
4949
{

0 commit comments

Comments
 (0)