From 13868af8f3ad4fd68b8d4558fda9f9bf83e298e7 Mon Sep 17 00:00:00 2001 From: Nick Logan Date: Thu, 9 Jul 2026 16:54:04 -0700 Subject: [PATCH] Do not use a Range as an argument to :ver Adverbs like `:ver()` are currently not respected on the legacy grammar, so the test being changed here isn't actually enforcing any version at all. In RakuAST `require` will respect `:ver(...)`, but that results in an error when given a Range object. Maybe such Range objects will work in the future, but for now using a Version with `+` accomplishes the same thing while making it compatible with RakuAST. --- t/00basic.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/00basic.t b/t/00basic.t index f85e03c..ec8c07b 100644 --- a/t/00basic.t +++ b/t/00basic.t @@ -7,7 +7,7 @@ use CSS::Grammar::Test; use CSS::Specification; use CSS::Specification::Actions; -lives-ok {require CSS::Grammar:ver(v0.3.0..*) }, "CSS::Grammar version"; +lives-ok {require CSS::Grammar:ver(v0.3.0+) }, "CSS::Grammar version"; for ( 'values' => {