Skip to content

Commit

Permalink
Merge pull request #22 from bettio/do-mix-format
Browse files Browse the repository at this point in the history
mix format
  • Loading branch information
Annopaolo committed Jun 20, 2023
2 parents f816d99 + 30499e9 commit 9367aeb
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 9367aeb

Please sign in to comment.