Error message changed

This commit is contained in:
Aaron
2009-02-25 12:35:45 -05:00
parent df4bf72f3d
commit 445b4d915a

View File

@@ -116,7 +116,7 @@ int main() {
// nonexistent index test
assert( conn.findOne(ns, Query("{name:\"eliot\"}").hint("{foo:1}")).hasElement("$err") );
assert( conn.getLastError() == "hint index not found" );
assert( conn.getLastError() == "bad hint" );
conn.resetError();
assert( conn.getLastError() == "" );