mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-19 02:40:41 -07:00
CI: Test with ruby 3.0 as the latest ruby version (#1398)
This commit is contained in:
@@ -461,6 +461,7 @@ class ContextTest < Minitest::Test
|
||||
end
|
||||
|
||||
def test_interrupt_avoids_object_allocations
|
||||
@context.interrupt? # ruby 3.0.0 allocates on the first call
|
||||
assert_no_object_allocations do
|
||||
@context.interrupt?
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user