Skip to content

Commit

Permalink
mix format
Browse files Browse the repository at this point in the history
  • Loading branch information
grzuy committed Jun 11, 2024
1 parent cb184c1 commit e7685e0
Showing 1 changed file with 26 additions and 26 deletions.
52 changes: 26 additions & 26 deletions test/tower_rollbar/rollbar/item_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,21 @@ defmodule TowerRollbar.Rollbar.ItemTest do
end

assert %{
"data" => %{
"environment" => "test",
"timestamp" => _,
"level" => "error",
"body" => %{
"trace" => %{
"frames" => [],
"exception" => %{
"class" => "RuntimeError",
"message" => "a test"
}
}
}
}
} = item
"data" => %{
"environment" => "test",
"timestamp" => _,
"level" => "error",
"body" => %{
"trace" => %{
"frames" => [],
"exception" => %{
"class" => "RuntimeError",
"message" => "a test"
}
}
}
}
} = item
end

test "from_message" do
Expand All @@ -39,16 +39,16 @@ defmodule TowerRollbar.Rollbar.ItemTest do
item = Rollbar.Item.from_message("something interesting happened")

assert %{
"data" => %{
"environment" => "test",
"timestamp" => _,
"level" => "info",
"body" => %{
"message" => %{
"body" => "something interesting happened"
}
}
}
} = item
"data" => %{
"environment" => "test",
"timestamp" => _,
"level" => "info",
"body" => %{
"message" => %{
"body" => "something interesting happened"
}
}
}
} = item
end
end

0 comments on commit e7685e0

Please sign in to comment.