summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorAaron <aaron@10gen.com>2009-02-25 12:35:45 -0500
committerAaron <aaron@10gen.com>2009-02-25 12:35:45 -0500
commit445b4d915a6f67f10610d57cd1143a0fec93bc55 (patch)
tree03666255dc3601c5af1c119d9c764f95408b5090 /client
parentdf4bf72f3d3bb419bdeaaf3dfe90491cb7349d2b (diff)
downloadmongo-445b4d915a6f67f10610d57cd1143a0fec93bc55.tar.gz
Error message changed
Diffstat (limited to 'client')
-rw-r--r--client/examples/clientTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/examples/clientTest.cpp b/client/examples/clientTest.cpp
index 222847468fb..a8a832992da 100644
--- a/client/examples/clientTest.cpp
+++ b/client/examples/clientTest.cpp
@@ -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() == "" );