mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-10-04 00:00:37 -04:00
disabling pattern matching tests for truffleruby
This commit is contained in:
parent
30df921387
commit
82a3657153
@ -7,8 +7,13 @@ class ResponseTest < Minitest::Test
|
||||
include ResponseHelpers
|
||||
|
||||
if RUBY_VERSION >= "3.0.0"
|
||||
require_relative "extensions/response_pattern_match"
|
||||
include ResponsePatternMatchTests
|
||||
begin
|
||||
eval("case 1; in 1 ;then true; end") # rubocop:disable Style/EvalWithLocation
|
||||
require_relative "extensions/response_pattern_match"
|
||||
include ResponsePatternMatchTests
|
||||
rescue SyntaxError
|
||||
# truffleruby advertises ruby 3 support, but still hasn't implemented pattern matching
|
||||
end
|
||||
end
|
||||
|
||||
def test_response_status
|
||||
|
Loading…
x
Reference in New Issue
Block a user