Skip to content

Commit ad690bc

Browse files
committed
fixing travis yaml
1 parent 0e53dfd commit ad690bc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/mongo/session_test.exs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,8 @@ defmodule Mongo.SessionTest do
302302
|> UnorderedBulk.update_one(%{name: "Tom"}, %{"$set": %{kind: "dog"}})
303303
|> UnorderedBulk.update_one(%{name: "Waldo"}, %{"$set": %{kind: "dog"}})
304304

305-
{:error, [result|_xs]} = Session.with_transaction(top, fn opts ->
305+
#{:error, [result|_xs]} =
306+
:error = Session.with_transaction(top, fn opts ->
306307

307308
%BulkWriteResult{errors: errors} = result = BulkWrite.write(top, bulk, opts)
308309

@@ -313,6 +314,7 @@ defmodule Mongo.SessionTest do
313314
false -> {:error, errors}
314315
end
315316

317+
:error
316318
end, w: 1)
317319

318320
# assert 263 == result["code"]

0 commit comments

Comments
 (0)