Skip to content

Commit

Permalink
Fix tests… again
Browse files Browse the repository at this point in the history
  • Loading branch information
elbrujohalcon committed Oct 24, 2024
1 parent c2e8da8 commit 420203a
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 14 deletions.
8 changes: 4 additions & 4 deletions test_app/after/src/paper_and_ribbon/indent_18.erl
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
-module(indent_18).

-format #{break_indent => 1,
inline_clause_bodies => true,
paper => 50,
sub_indent => 8}.
-format #{break_indent => 1}.
-format #{inline_clause_bodies => true}.
-format #{paper => 50}.
-format #{sub_indent => 8}.

-record(record,
{fields =
Expand Down
6 changes: 3 additions & 3 deletions test_app/after/src/paper_and_ribbon/indent_81.erl
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
-module(indent_81).

-format #{break_indent => 8,
paper => 50,
sub_indent => 1}.
-format #{break_indent => 8}.
-format #{paper => 50}.
-format #{sub_indent => 1}.
-format #{inline_clause_bodies => true}.

-record(record,
Expand Down
3 changes: 1 addition & 2 deletions test_app/src/inline_items/inline_no_items.erl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
%% per line if they're large.
-module inline_no_items.

-format #{paper => 80, inline_items => none}.
-format #{inline_items => none, paper => 80}.

-export [short_tuple/0, short_list/0, short_fun/0].
-export [short_bin/0, short_guard/1, short_lc/0].
Expand Down Expand Up @@ -106,4 +106,3 @@ exact() ->

long() ->
[these, items, should, be, inlined, they, are, more, than, 25, $., 'We', can, be, sure, about, that, because, we, added, a, very, long, number, 'of', items, to, this, list].

8 changes: 4 additions & 4 deletions test_app/src/paper_and_ribbon/indent_18.erl
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
-module(indent_18).

-format(#{break_indent => 1,
inline_clause_bodies => true,
paper => 50,
sub_indent => 8}).
-format(#{break_indent => 1}).
-format(#{inline_clause_bodies => true}).
-format(#{paper => 50}).
-format(#{sub_indent => 8}).

-record(
record, {fields = should:be(indented_using:break_indent(1)),
Expand Down
4 changes: 3 additions & 1 deletion test_app/src/paper_and_ribbon/indent_81.erl
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
-module(indent_81).

-format(#{break_indent => 8, paper => 50, sub_indent => 1}).
-format(#{break_indent => 8}).
-format(#{paper => 50}).
-format(#{sub_indent => 1}).
-format(#{inline_clause_bodies => true}).

-record(
Expand Down

0 comments on commit 420203a

Please sign in to comment.