CC: | lee.johnson [...] netbanx.com |
Subject: | Test Failure With MongoDB v1.2.4 |
t/collection.t fails with:
not ok 102
# Failed test at t/collection.t line 355.
# got: undef
# expected: '11000'
It looks like the test is checking for 'code' in the last error, but the
returned hash from $db->last_error is structured as so:
$VAR1 = {
'ok' => '1',
'n' => 0,
'err' => 'E11000 duplicate key errorindex:
test_database.test_collection.$_id_ dup key: { : 1 }'
};