nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d77539e
)
lib/mongodb: clean MongoCollection::find nitunit output
author
Alexandre Terrasa
<alexandre@moz-code.org>
Thu, 11 Jun 2015 01:38:49 +0000
(21:38 -0400)
committer
Alexandre Terrasa
<alexandre@moz-code.org>
Thu, 11 Jun 2015 02:01:48 +0000
(22:01 -0400)
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
lib/mongodb/mongodb.nit
patch
|
blob
|
history
diff --git
a/lib/mongodb/mongodb.nit
b/lib/mongodb/mongodb.nit
index
4a0718f
..
1118741
100644
(file)
--- a/
lib/mongodb/mongodb.nit
+++ b/
lib/mongodb/mongodb.nit
@@
-531,8
+531,6
@@
class MongoCollection
# var query = new JsonObject
# query["foo"] = 10
# var doc = col.find(query)
- # print doc or else "nullllllllllllllllll"
- # print doc.to_json
# assert doc["foo"] == 10
# ~~~
fun find(query: JsonObject): nullable JsonObject do