summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHubert Chathi <hubert@uhoreg.ca>2019-10-06 09:42:08 -0400
committerHubert Chathi <hubert@uhoreg.ca>2019-10-06 09:42:08 -0400
commit64244ef5001da0350deb4be63eaeedf6e30c88b0 (patch)
tree1b94d934c803ecbf3a25f79e319dc22bd7277aa7
parentmore unit tests (diff)
mix format
-rw-r--r--test/polyjuice/client_test.exs9
1 files changed, 8 insertions, 1 deletions
diff --git a/test/polyjuice/client_test.exs b/test/polyjuice/client_test.exs
index 9b35a6d..7c25bc4 100644
--- a/test/polyjuice/client_test.exs
+++ b/test/polyjuice/client_test.exs
@@ -99,7 +99,14 @@ defmodule Polyjuice.ClientTest do
{:ok, "$foo1"}
}
} do
- {:ok, event_id} = Polyjuice.Client.send_event(client, "m.room.message", %{"msgtype" => "m.text", "body" => "foo"}, "!bar")
+ {:ok, event_id} =
+ Polyjuice.Client.send_event(
+ client,
+ "m.room.message",
+ %{"msgtype" => "m.text", "body" => "foo"},
+ "!bar"
+ )
+
assert event_id == "$foo1"
end
end