Skip to content

Commit 3d8ce40

Browse files
committed
Fix test
1 parent 72e8562 commit 3d8ce40

2 files changed

Lines changed: 13 additions & 4 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,18 @@ jobs:
4040
# Specify the OTP and Elixir versions to use when building
4141
# and running the workflow steps.
4242
matrix:
43-
otp: ['27.2'] # Define the OTP version [required]
44-
elixir: ['1.18.1-otp-27'] # Define the elixir version [required]
43+
include:
44+
- otp: "27.2.4"
45+
elixir: "1.18.4-otp-27"
46+
- otp: "28.3.1"
47+
elixir: "1.18.4-otp-28"
48+
- otp: "27.2.4"
49+
elixir: "1.19.5-otp-27"
50+
- otp: "28.3.1"
51+
elixir: "1.19.5-otp-28"
52+
- otp: "28.3.1"
53+
elixir: "1.20.0-rc.1-otp-28"
54+
lint: true
4555
steps:
4656
# Step: Setup Elixir + Erlang image as the base.
4757
- name: Set up Elixir

‎test/unicode_set_test.exs‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,8 +205,7 @@ defmodule UnicodeSetTest do
205205
end
206206

207207
test "parsing invalid regex" do
208-
assert Unicode.Regex.compile("[[:ZZZ:]]") ==
209-
{:error, {~c"unknown POSIX class name", 8}}
208+
assert {:error, {~c"unknown POSIX class name", _}} = Unicode.Regex.compile("[[:ZZZ:]]")
210209
end
211210

212211
test "parsing an invalid unicode set returns the right error" do

0 commit comments

Comments
 (0)