From 7983957d07b1a8c1d19727885eb1cb76ed86f324 Mon Sep 17 00:00:00 2001 From: Marcin Kulik Date: Fri, 22 Mar 2024 10:16:18 +0100 Subject: [PATCH] mix format --- test/asciinema/recordings/snapshot_test.exs | 30 ++++++++++++--------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/test/asciinema/recordings/snapshot_test.exs b/test/asciinema/recordings/snapshot_test.exs index ccc0601a5..b8a9b37d5 100644 --- a/test/asciinema/recordings/snapshot_test.exs +++ b/test/asciinema/recordings/snapshot_test.exs @@ -55,12 +55,14 @@ defmodule Asciinema.Recordings.SnapshotTest do |> Snapshot.regroup(:segments) |> Map.get(:lines) - assert lines == [[ - {" f", %{fg: 1}, 1}, - {"oo", %{fg: 2}, 1}, - {" bar", %{fg: 1}, 1}, - {"连", %{fg: 1}, 2}, - ]] + assert lines == [ + [ + {" f", %{fg: 1}, 1}, + {"oo", %{fg: 2}, 1}, + {" bar", %{fg: 1}, 1}, + {"连", %{fg: 1}, 2} + ] + ] end test "keeps special chars in their own segments" do @@ -84,13 +86,15 @@ defmodule Asciinema.Recordings.SnapshotTest do |> Snapshot.regroup(:segments) |> Map.get(:lines) - assert lines == [[ - {"▚", %{}, 1}, - {"foo", %{}, 1}, - {"▚", %{}, 1}, - {"bar", %{}, 1}, - {"▚", %{}, 1}, - ]] + assert lines == [ + [ + {"▚", %{}, 1}, + {"foo", %{}, 1}, + {"▚", %{}, 1}, + {"bar", %{}, 1}, + {"▚", %{}, 1} + ] + ] end end