Skip to content

Commit

Permalink
Update Elixir/Erlang versions in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
whatyouhide committed Dec 22, 2024
1 parent c16125a commit 9266b4f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
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

0 comments on commit 9266b4f

Please sign in to comment.