Skip to content

Commit 68b0e22

Browse files
committed
Fix ruby 3.4 error message
1 parent 75179ac commit 68b0e22

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
matrix:
1515
os: ["ubuntu-latest", "macos-latest"]
1616
ruby:
17+
- '3.4'
1718
- '3.3'
1819
- '3.2'
1920
- "head"

spec/roda/delegation_error_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@
1313
it "raises an error" do
1414
expect {
1515
get "/link" # expects delegates on Phlex::SGML
16-
}.to raise_error(NoMethodError, /undefined method `url'/)
16+
}.to raise_error(NoMethodError, /undefined method (?:`|')url'/)
1717
end
1818
end

0 commit comments

Comments
 (0)