Skip to content

Commit c28b78a

Browse files
committed
chore: format the new test cases
1 parent 07b310f commit c28b78a

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

test/nodejs_test.exs

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -261,17 +261,18 @@ defmodule NodeJS.Test do
261261
test "handles ANSI sequences without corrupting protocol" do
262262
# Test basic ANSI handling - protocol messages should work
263263
assert {:ok, "clean output"} = NodeJS.call({"terminal-test", "outputWithANSI"})
264-
264+
265265
# Test complex ANSI sequences - protocol messages should work
266266
assert {:ok, "complex test passed"} = NodeJS.call({"terminal-test", "complexOutput"})
267-
267+
268268
# Test multiple processes don't interfere with each other
269-
tasks = for _ <- 1..4 do
270-
Task.async(fn ->
271-
NodeJS.call({"terminal-test", "outputWithANSI"})
272-
end)
273-
end
274-
269+
tasks =
270+
for _ <- 1..4 do
271+
Task.async(fn ->
272+
NodeJS.call({"terminal-test", "outputWithANSI"})
273+
end)
274+
end
275+
275276
results = Task.await_many(tasks)
276277
assert Enum.all?(results, &match?({:ok, "clean output"}, &1))
277278
end

0 commit comments

Comments
 (0)