Skip to content

Commit

Permalink
mix format
Browse files Browse the repository at this point in the history
Make `mix format --check-formatted` happy.

Signed-off-by: Davide Bettio <davide.bettio@secomind.com>
  • Loading branch information
bettio committed Jun 20, 2023
1 parent f816d99 commit 30499e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/cyanide_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ defmodule CyanideTest do

test "encodes and decodes a map" do
map1 = %{
"t" => DateTime.utc_now |> DateTime.to_unix(:millisecond),
"t" => DateTime.utc_now() |> DateTime.to_unix(:millisecond),
"v" => %{
"some_binary" => {0, <<0, 0, 0, 0>>},
"array" => [1, 2, 3, 4, 5],
Expand All @@ -39,7 +39,7 @@ defmodule CyanideTest do

test "encodes and decodes a complex map" do
map2 = %{
"t" => DateTime.utc_now |> DateTime.to_unix(:millisecond),
"t" => DateTime.utc_now() |> DateTime.to_unix(:millisecond),
"bin1" => {0, <<0, 1, 2, 3>>},
"bin2" => {0, <<0>>},
"bin3" => {0, <<>>},
Expand Down

0 comments on commit 30499e9

Please sign in to comment.