diff options
author | Aaron <aaron@10gen.com> | 2009-02-25 12:35:45 -0500 |
---|---|---|
committer | Aaron <aaron@10gen.com> | 2009-02-25 12:35:45 -0500 |
commit | 445b4d915a6f67f10610d57cd1143a0fec93bc55 (patch) | |
tree | 03666255dc3601c5af1c119d9c764f95408b5090 /client | |
parent | df4bf72f3d3bb419bdeaaf3dfe90491cb7349d2b (diff) | |
download | mongo-445b4d915a6f67f10610d57cd1143a0fec93bc55.tar.gz |
Error message changed
Diffstat (limited to 'client')
-rw-r--r-- | client/examples/clientTest.cpp | 2 |
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() == "" ); |