Closed michalmuskala closed 7 years ago
I compiled master and run mix test, got those errors:
mix test
1) test find hint (Mongo.Cursor.Test) test/mongo_cursor_test.exs:34 Assertion with == failed code: "BtreeCursor tst_value" == ctx[:anycoll] |> Mongo.Collection.find() |> Mongo.Find.hint(%{value: true}) |> Mongo.Find.explain() |> Map.get(:cursor) lhs: "BtreeCursor tst_value" rhs: nil stacktrace: test/mongo_cursor_test.exs:36 2) test explain (Mongo.Cursor.Test) test/mongo_cursor_test.exs:30 Expected truthy, got false code: ctx[:anycoll] |> Mongo.Collection.find() |> Mongo.Find.explain() |> Map.has_key?(:cursor) stacktrace: test/mongo_cursor_test.exs:31
I'm not sure what is the reason for this. May it be MongoDB version? I have 3.0.3
I tested this library only on MongoDB v2.6.5
I compiled master and run
mix test
, got those errors:I'm not sure what is the reason for this. May it be MongoDB version? I have 3.0.3