Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Elixir/Erlang versions in CI #458

Merged
merged 2 commits into from
Dec 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .dialyzer_ignore.exs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[
{"lib/mint/tunnel_proxy.ex", :call_with_opaque, 49},
{"lib/mint/tunnel_proxy.ex", "Type mismatch in call with opaque term in put_proxy_headers."},
{"lib/mint/http1.ex", :improper_list_constr},
~r{test/support},
~r{Function ExUnit.Assertion.* does not exist},
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
fail-fast: false
matrix:
include:
- erlang: "27.1"
elixir: "1.17"
- erlang: "27.2"
elixir: "1.18"
lint: true
coverage: true
dialyzer: true
Expand Down
6 changes: 5 additions & 1 deletion test/mint/http2/frame_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@ defmodule Mint.HTTP2.FrameTest do
test "flag_set?/3" do
assert flag_set?(0x08, :data, :padded) == true
assert flag_set?(0x00, :data, :padded) == false
assert_raise FunctionClauseError, fn -> flag_set?(0x00, :data, :ack) end

# Typing violation if done at compile time.
assert_raise FunctionClauseError, fn ->
Code.eval_quoted(quote do: Mint.HTTP2.Frame.flag_set?(0x00, :data, :ack))
end
end

test "decode_next/1 with an incomplete frame" do
Expand Down
Loading