From f83f31a0b568304773e1c068f48ac92cd28bc8cf Mon Sep 17 00:00:00 2001 From: edgurgel Date: Wed, 20 Nov 2024 10:17:01 +1300 Subject: [PATCH] mix format --- test/context_test.exs | 6 ++++-- test/integration/objects_test.exs | 8 ++++---- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/test/context_test.exs b/test/context_test.exs index f4585e0..02b9662 100644 --- a/test/context_test.exs +++ b/test/context_test.exs @@ -59,7 +59,8 @@ defmodule Solid.ContextTest do vars: %{"variable" => "y"} } - assert Context.get_in(context, ["x", {:reference, "variable"}], [:vars, :counter_vars]) == {:ok, 1} + assert Context.get_in(context, ["x", {:reference, "variable"}], [:vars, :counter_vars]) == + {:ok, 1} end test "missing reference" do @@ -68,7 +69,8 @@ defmodule Solid.ContextTest do vars: %{"variable" => "q"} } - assert Context.get_in(context, ["x", "y", {:reference, "missing"}], [:vars, :counter_vars]) == {:error, {:not_found, ["x", "y", "missing"]}} + assert Context.get_in(context, ["x", "y", {:reference, "missing"}], [:vars, :counter_vars]) == + {:error, {:not_found, ["x", "y", "missing"]}} end test "list access" do diff --git a/test/integration/objects_test.exs b/test/integration/objects_test.exs index 59a4758..4e9909c 100644 --- a/test/integration/objects_test.exs +++ b/test/integration/objects_test.exs @@ -63,8 +63,8 @@ defmodule Solid.Integration.ObjectsTest do } assert render(template, data) == """ -

Yo! world

- """ +

Yo! world

+ """ end test "field access through many variables" do @@ -85,8 +85,8 @@ defmodule Solid.Integration.ObjectsTest do } assert render(template, data) == """ -

Hey! world

- """ +

Hey! world

+ """ end test "complex key rendering" do