You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
expect(@logs).tohave_matching_log_with_source(/The parameter '\$bad_int' must be a literal type, not a Puppet::Pops::Model::AccessExpression/,"#{code_dir}/non_literal.pp",1,37)
522
+
expect(@logs).tohave_matching_log_with_source(/The parameter '\$double_brackets' must be a literal type, not a Puppet::Pops::Model::AccessExpression/,"#{code_dir}/non_literal_2.pp",1,44)
523
+
521
524
expect(result).toeq({
522
525
"production"=>{
523
526
"#{code_dir}/non_literal.pp"=>
524
-
{:error=>"The parameter '$bad_int' must be a literal type, not a Puppet::Pops::Model::AccessExpression (file: #{code_dir}/non_literal.pp, line: 1, column: 37)"},
527
+
{:error=>"The parameter '\$bad_int' is invalid: The expression <1-3> is not a valid type specification."},
525
528
"#{code_dir}/non_literal_2.pp"=>
526
-
{:error=>"The parameter '$double_brackets' must be a literal type, not a Puppet::Pops::Model::AccessExpression (file: #{code_dir}/non_literal_2.pp, line: 1, column: 44)"}
529
+
{:error=>"The parameter '\$double_brackets' is invalid: The expression <Optional[[String]]> is not a valid type specification."}
0 commit comments