diff options
author | Eliot Horowitz <eliot@10gen.com> | 2012-03-26 12:58:35 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2012-03-26 12:58:52 -0400 |
commit | bd6d0c99195e324e14390205e2bc6ff88c01e365 (patch) | |
tree | f9306b37b7d3302b4dd6e5f628fcf9886a09cf15 /src/mongo/db/minilex.h | |
parent | a56eef7bd9a5d390182ea64118e11420b052a380 (diff) | |
download | mongo-bd6d0c99195e324e14390205e2bc6ff88c01e365.tar.gz |
replace assert with verify SERVER-1259
Diffstat (limited to 'src/mongo/db/minilex.h')
-rw-r--r-- | src/mongo/db/minilex.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/minilex.h b/src/mongo/db/minilex.h index 677514aa47c..f77bd9b464b 100644 --- a/src/mongo/db/minilex.h +++ b/src/mongo/db/minilex.h @@ -114,9 +114,9 @@ namespace mongo { MiniLex() { strhashmap atest; atest["foo"] = 3; - assert( atest.count("bar") == 0 ); - assert( atest.count("foo") == 1 ); - assert( atest["foo"] == 3 ); + verify( atest.count("bar") == 0 ); + verify( atest.count("foo") == 1 ); + verify( atest["foo"] == 3 ); for ( int i = 0; i < 256; i++ ) { ic[i] = starter[i] = false; |