Commit 61d55b56 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Update variables expressions statement specs

parent c808de25
......@@ -100,7 +100,7 @@ describe Gitlab::Ci::Pipeline::Expression::Statement do
"$PRESENT_VARIABLE =~ /^var.*/" | false
"$EMPTY_VARIABLE =~ /var.*/" | false
"$UNDEFINED_VARIABLE =~ /var.*/" | false
"$PRESENT_VARIABLE =~ /(?i)VAR.*/" | true
"$PRESENT_VARIABLE =~ /VAR.*/i" | true
end
with_them do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment