Skip to content

Commit 0d15d72

Browse files
authored
Update Elixir/Erlang versions in CI (#458)
1 parent c16125a commit 0d15d72

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

.dialyzer_ignore.exs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[
2-
{"lib/mint/tunnel_proxy.ex", :call_with_opaque, 49},
2+
{"lib/mint/tunnel_proxy.ex", "Type mismatch in call with opaque term in put_proxy_headers."},
33
{"lib/mint/http1.ex", :improper_list_constr},
44
~r{test/support},
55
~r{Function ExUnit.Assertion.* does not exist},

.github/workflows/main.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ jobs:
1414
fail-fast: false
1515
matrix:
1616
include:
17-
- erlang: "27.1"
18-
elixir: "1.17"
17+
- erlang: "27.2"
18+
elixir: "1.18"
1919
lint: true
2020
coverage: true
2121
dialyzer: true

test/mint/http2/frame_test.exs

+5-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,11 @@ defmodule Mint.HTTP2.FrameTest do
2222
test "flag_set?/3" do
2323
assert flag_set?(0x08, :data, :padded) == true
2424
assert flag_set?(0x00, :data, :padded) == false
25-
assert_raise FunctionClauseError, fn -> flag_set?(0x00, :data, :ack) end
25+
26+
# Typing violation if done at compile time.
27+
assert_raise FunctionClauseError, fn ->
28+
Code.eval_quoted(quote do: Mint.HTTP2.Frame.flag_set?(0x00, :data, :ack))
29+
end
2630
end
2731

2832
test "decode_next/1 with an incomplete frame" do

0 commit comments

Comments
 (0)