Skip to content

Commit

Permalink
pass test on mongodb 1.6+
Browse files Browse the repository at this point in the history
  • Loading branch information
nightsailer committed Sep 30, 2011
1 parent 4557e95 commit a93cab1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion t/perl-driver-api/database.t
Expand Up @@ -44,7 +44,8 @@ is($coll->count, 1, 'count');
is($coll->find_one->{perl}, 'hacker', 'find_one');
is($coll->find_one->{_id}->value, $id->value, 'insert id');

is($db->run_command({ foo => 'bar' }), "no such cmd");
# is($db->run_command({ foo => 'bar' }), "no such cmd: foo");
like($db->run_command({ foo => 'bar' }), qr/no such cmd/,'invalid command');

# getlasterror
SKIP: {
Expand Down

0 comments on commit a93cab1

Please sign in to comment.