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

Relax a string test pattern; Use like instead of ok. #50

Merged
merged 1 commit into from
Dec 10, 2012
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion t/db.t
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ my $hello = $db->eval('function(x) { return "hello, "+x; }', ["world"]);
is('hello, world', $hello, 'db eval');

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

# tie
{
Expand Down