Skip to content

Commit d7ba85b

Browse files
Comment out what erlfmt doesn't like (in the tests)
1 parent 2e52e3f commit d7ba85b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ jobs:
3232
key: rebar3-cache-for-os-${{runner.os}}-otp-${{steps.setup-beam.outputs.otp-version}}-rebar3-${{steps.setup-beam.outputs.rebar3-version}}-hash-${{hashFiles('rebar.lock')}}
3333
- name: Compile
3434
run: ERL_FLAGS="-enable-feature all" rebar3 compile
35-
#- name: Format check
36-
# if: matrix.otp == '28'
37-
# run: rebar3 fmt --check
35+
- name: Format check
36+
if: matrix.otp == '27'
37+
run: rebar3 fmt --check
3838
- name: Run tests and verifications (features not enabled)
3939
run: rebar3 test
4040
- name: Run tests and verifications (features enabled)

test/files/otp28.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ valid() ->
2727
[A + B || A <- [1, 2, 3] && B <- [4, 5, 6]],
2828

2929
% binaries
30-
~"This is a UTF-8 binary",
30+
%~"This is a UTF-8 binary",
3131

3232
% map comprehensions
3333
#{ K => V || K := V <- #{john => wick}}.

0 commit comments

Comments
 (0)