Skip to content

Commit 401cede

Browse files
committed
mix format
1 parent f4ac8fe commit 401cede

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

lib/mongo.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ defmodule Mongo do
588588
opts = Keyword.drop(opts, ~w(limit skip hint collation)a)
589589

590590
with {:ok, doc} <- issue_command(topology_pid, cmd, :read, opts) do
591-
{:ok, trunc(doc["n"])}
591+
{:ok, trunc(doc["n"])}
592592
end
593593
end
594594

test/mongo/read_preferences_test.exs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ defmodule Mongo.ReadPreferencesTest do
7474
}
7575

7676
assert %{"name" => "Oskar"} == Mongo.find_one(top, coll, %{name: "Oskar"}, read_preference: prefs) |> Map.take(["name"])
77+
7778
prefs = %{
7879
mode: :nearest,
7980
max_staleness_ms: 120_000,

0 commit comments

Comments
 (0)