Skip to content

Commit 599f78c

Browse files
committed
Fix syntax error on older versions
1 parent f2f333b commit 599f78c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/resolv/test_dns.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ def test_no_server
525525
if RUBY_PLATFORM.match?(/mingw/)
526526
# cannot repo locally
527527
omit 'Timeout Error on MinGW CI'
528-
elsif macos?([26,1]..)
528+
elsif macos?([26,1]..[])
529529
omit 'Timeout Error on macOS 26.1+'
530530
else
531531
raise Timeout::Error

0 commit comments

Comments
 (0)