Skip to content

Commit be792b1

Browse files
committed
style: mix format new coverage tests
1 parent fc31dc2 commit be792b1

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

test/hyper/node/budget/node_state_test.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ defmodule Hyper.Node.Budget.NodeStateTest do
99
defp roomy_state(overrides \\ %{}) do
1010
struct!(
1111
%NodeState{
12-
node: :"node@host",
12+
node: :node@host,
1313
mem_free: Information.gib(8),
1414
disk_free: Information.gib(100),
1515
cpu_load: 0.0,

test/sys/linux/cgroup_test.exs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ defmodule Sys.Linux.CgroupTest do
2626
end
2727

2828
test "duplicate cgroup mounts collapse into the set" do
29-
assert Cgroup.versions_from_mounts([mount("cgroup"), mount("cgroup")]) == MapSet.new([:cgroup])
29+
assert Cgroup.versions_from_mounts([mount("cgroup"), mount("cgroup")]) ==
30+
MapSet.new([:cgroup])
3031
end
3132
end

test/sys/linux/nss_test.exs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ defmodule Sys.Linux.NssTest do
2626
end
2727

2828
test "a non-integer uid is rejected" do
29-
assert Passwd.from_output("root:x:NaN:0:root:/root:/bin/bash\n") == {:error, :invalid_format}
29+
assert Passwd.from_output("root:x:NaN:0:root:/root:/bin/bash\n") ==
30+
{:error, :invalid_format}
3031
end
3132

3233
test "empty output yields an empty list" do

0 commit comments

Comments
 (0)