Skip to content

nightly

nightly #1035

Triggered via schedule September 26, 2023 00:10
Status Success
Total duration 21m 19s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

nightly.yml

on: schedule
Spec  /  Setup Test Matrix
53s
Spec / Setup Test Matrix
Matrix: Spec / spec
Acceptance  /  Setup Test Matrix
43s
Acceptance / Setup Test Matrix
Matrix: Acceptance / acceptance
Fit to window
Zoom out
Zoom in

Annotations

32 warnings
Spec / Setup Test Matrix
Cannot find image for AIX-7.1
Spec / Setup Test Matrix
Cannot find image for AIX-7.2
Spec / Setup Test Matrix
Cannot find image for Solaris-11
Spec / Setup Test Matrix
Cannot find image for Windows-10
Spec / Setup Test Matrix
Cannot find image for Windows-2012
Spec / Setup Test Matrix
Cannot find image for Windows-2012 R2
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/functions/grep_spec.rb#L10
grep is expected to run grep("one", "two") and raise an Puppet::ParseError with the message matching /first argument not an array/ Failure/Error: expect(subject).to run.with_params('one', 'two').and_raise_error(Puppet::ParseError, %r{first argument not an array}) expected grep("one", "two") to have raised Puppet::ParseError matching /first argument not an array/ instead of NoMethodError(undefined method `grep' for "one":String) /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/grep.rb:28:in `block in <module:Functions>' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.2.0/lib/puppet/parser/functions.rb:216:in `block (2 levels) in newfunction' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.2.0/lib/puppet/util/profiler/around_profiler.rb:59:in `profile' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.2.0/lib/puppet/util/profiler.rb:52:in `profile' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.2.0/lib/puppet/parser/functions.rb:209:in `block in newfunction' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.2.0/lib/puppet/functions.rb:752:in `block in call' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.2.0/lib/puppet/functions.rb:749:in `catch' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.2.0/lib/puppet/functions.rb:749:in `call' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-puppet-2.12.0/lib/rspec-puppet/example/function_example_group.rb:19:in `block in execute' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.2.0/lib/puppet/context.rb:63:in `override' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.2.0/lib/puppet.rb:286:in `override' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-puppet-2.12.0/lib/rspec-puppet/example/function_example_group.rb:18:in `execute' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-puppet-2.12.0/lib/rspec-puppet/matchers/run.rb:10:in `matches?' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/expectations/handler.rb:51:in `block in handle_matcher' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/expectations/handler.rb:27:in `with_matcher' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/expectations/expectation_target.rb:65:in `to' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/expectations/expectation_target.rb:101:in `to' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/spec/functions/grep_spec.rb:12:in `block (2 levels) in <top (required)>' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:263:in `instance_exec' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:263:in `block in run' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks' /home/runner/work/pu
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/functions/grep_spec.rb#L15
grep is expected to run grep(1, "two") and raise an Puppet::ParseError with the message matching /first argument not an array/ Failure/Error: expect(subject).to run.with_params(1, 'two').and_raise_error(Puppet::ParseError, %r{first argument not an array}) expected grep(1, "two") to have raised Puppet::ParseError matching /first argument not an array/ instead of NoMethodError(undefined method `grep' for 1:Integer) /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/grep.rb:28:in `block in <module:Functions>' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.2.0/lib/puppet/parser/functions.rb:216:in `block (2 levels) in newfunction' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.2.0/lib/puppet/util/profiler/around_profiler.rb:59:in `profile' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.2.0/lib/puppet/util/profiler.rb:52:in `profile' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.2.0/lib/puppet/parser/functions.rb:209:in `block in newfunction' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.2.0/lib/puppet/functions.rb:752:in `block in call' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.2.0/lib/puppet/functions.rb:749:in `catch' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.2.0/lib/puppet/functions.rb:749:in `call' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-puppet-2.12.0/lib/rspec-puppet/example/function_example_group.rb:19:in `block in execute' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.2.0/lib/puppet/context.rb:63:in `override' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.2.0/lib/puppet.rb:286:in `override' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-puppet-2.12.0/lib/rspec-puppet/example/function_example_group.rb:18:in `execute' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-puppet-2.12.0/lib/rspec-puppet/matchers/run.rb:10:in `matches?' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/expectations/handler.rb:51:in `block in handle_matcher' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/expectations/handler.rb:27:in `with_matcher' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/expectations/expectation_target.rb:65:in `to' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/expectations/expectation_target.rb:101:in `to' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/spec/functions/grep_spec.rb:17:in `block (2 levels) in <top (required)>' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:263:in `instance_exec' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:263:in `block in run' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks' /home/runner/work/puppetlabs-stdlib
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/functions/reject_spec.rb#L10
reject is expected to run reject("one", "two") and raise an Puppet::ParseError with the message matching /first argument not an array/ Failure/Error: expect(subject).to run.with_params('one', 'two').and_raise_error(Puppet::ParseError, %r{first argument not an array}) expected reject("one", "two") to have raised Puppet::ParseError matching /first argument not an array/ instead of NoMethodError(undefined method `grep_v' for "one":String) /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/reject.rb:34:in `block in <module:Functions>' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.2.0/lib/puppet/parser/functions.rb:216:in `block (2 levels) in newfunction' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.2.0/lib/puppet/util/profiler/around_profiler.rb:59:in `profile' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.2.0/lib/puppet/util/profiler.rb:52:in `profile' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.2.0/lib/puppet/parser/functions.rb:209:in `block in newfunction' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.2.0/lib/puppet/functions.rb:752:in `block in call' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.2.0/lib/puppet/functions.rb:749:in `catch' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.2.0/lib/puppet/functions.rb:749:in `call' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-puppet-2.12.0/lib/rspec-puppet/example/function_example_group.rb:19:in `block in execute' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.2.0/lib/puppet/context.rb:63:in `override' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.2.0/lib/puppet.rb:286:in `override' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-puppet-2.12.0/lib/rspec-puppet/example/function_example_group.rb:18:in `execute' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-puppet-2.12.0/lib/rspec-puppet/matchers/run.rb:10:in `matches?' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/expectations/handler.rb:51:in `block in handle_matcher' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/expectations/handler.rb:27:in `with_matcher' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/expectations/expectation_target.rb:65:in `to' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/expectations/expectation_target.rb:101:in `to' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/spec/functions/reject_spec.rb:12:in `block (2 levels) in <top (required)>' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:263:in `instance_exec' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:263:in `block in run' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks' /home/ru
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/functions/reject_spec.rb#L15
reject is expected to run reject(1, "two") and raise an Puppet::ParseError with the message matching /first argument not an array/ Failure/Error: expect(subject).to run.with_params(1, 'two').and_raise_error(Puppet::ParseError, %r{first argument not an array}) expected reject(1, "two") to have raised Puppet::ParseError matching /first argument not an array/ instead of NoMethodError(undefined method `grep_v' for 1:Integer) /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/reject.rb:34:in `block in <module:Functions>' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.2.0/lib/puppet/parser/functions.rb:216:in `block (2 levels) in newfunction' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.2.0/lib/puppet/util/profiler/around_profiler.rb:59:in `profile' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.2.0/lib/puppet/util/profiler.rb:52:in `profile' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.2.0/lib/puppet/parser/functions.rb:209:in `block in newfunction' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.2.0/lib/puppet/functions.rb:752:in `block in call' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.2.0/lib/puppet/functions.rb:749:in `catch' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.2.0/lib/puppet/functions.rb:749:in `call' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-puppet-2.12.0/lib/rspec-puppet/example/function_example_group.rb:19:in `block in execute' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.2.0/lib/puppet/context.rb:63:in `override' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/puppet-8.2.0/lib/puppet.rb:286:in `override' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-puppet-2.12.0/lib/rspec-puppet/example/function_example_group.rb:18:in `execute' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-puppet-2.12.0/lib/rspec-puppet/matchers/run.rb:10:in `matches?' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/expectations/handler.rb:51:in `block in handle_matcher' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/expectations/handler.rb:27:in `with_matcher' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/expectations/expectation_target.rb:65:in `to' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/expectations/expectation_target.rb:101:in `to' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/spec/functions/reject_spec.rb:17:in `block (2 levels) in <top (required)>' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:263:in `instance_exec' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:263:in `block in run' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks' /home/runner/work/puppe
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/functions/shuffle_spec.rb#L9
shuffle is expected to run shuffle([], "extra") and raise an Puppet::ParseError with the message matching /wrong number of arguments/i Failure/Error: expect(subject).to run.with_params([], 'extra').and_raise_error(Puppet::ParseError, %r{wrong number of arguments}i) expected shuffle([], "extra") to have raised Puppet::ParseError matching /wrong number of arguments/i instead of returning []
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/functions/str2bool_spec.rb#L9
str2bool is expected to run str2bool("true", "extra") and raise an Puppet::ParseError with the message matching /wrong number of arguments/i Failure/Error: expect(subject).to run.with_params('true', 'extra').and_raise_error(Puppet::ParseError, %r{wrong number of arguments}i) expected str2bool("true", "extra") to have raised Puppet::ParseError matching /wrong number of arguments/i instead of returning true
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/functions/suffix_spec.rb#L9
suffix is expected to run suffix([], "a", "") and raise an Puppet::ParseError with the message matching /wrong number of arguments/i Failure/Error: expect(subject).to run.with_params([], 'a', '').and_raise_error(Puppet::ParseError, %r{wrong number of arguments}i) expected suffix([], "a", "") to have raised Puppet::ParseError matching /wrong number of arguments/i instead of returning []
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/functions/swapcase_spec.rb#L9
swapcase is expected to run swapcase("a", "") and raise an Puppet::ParseError with the message matching /wrong number of arguments/i Failure/Error: expect(subject).to run.with_params('a', '').and_raise_error(Puppet::ParseError, %r{wrong number of arguments}i) expected swapcase("a", "") to have raised Puppet::ParseError matching /wrong number of arguments/i instead of returning "A"
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/functions/to_json_pretty_spec.rb#L22
stdlib::to_json_pretty is expected to run stdlib::to_json_pretty([[nil], "two", nil, "three"], true) and return "[\n [\n\n ],\n \"two\",\n \"three\"\n]\n" Failure/Error: expect(subject).to run.with_params([[nil], 'two', nil, 'three'], true).and_return("[\n [\n\n ],\n \"two\",\n \"three\"\n]\n") expected stdlib::to_json_pretty([[nil], "two", nil, "three"], true) to have returned "[\n [\n\n ],\n \"two\",\n \"three\"\n]\n" instead of "[\n [\n null\n ],\n \"two\",\n \"three\"\n]\n"
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/functions/to_json_pretty_spec.rb#L27
stdlib::to_json_pretty is expected to run stdlib::to_json_pretty({"omg"=>{"lol"=>nil}, "what"=>nil}, true) and return "{\n}\n" Failure/Error: expect(subject).to run.with_params({ 'omg' => { 'lol' => nil }, 'what' => nil }, true).and_return("{\n}\n") expected stdlib::to_json_pretty({"omg"=>{"lol"=>nil}, "what"=>nil}, true) to have returned "{\n}\n" instead of "{\n \"omg\": {\n \"lol\": null\n }\n}\n"
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/functions/grep_spec.rb#L10
grep is expected to run grep("one", "two") and raise an Puppet::ParseError with the message matching /first argument not an array/ Failure/Error: expect(subject).to run.with_params('one', 'two').and_raise_error(Puppet::ParseError, %r{first argument not an array}) expected grep("one", "two") to have raised Puppet::ParseError matching /first argument not an array/ instead of NoMethodError(undefined method `grep' for "one":String) /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/grep.rb:28:in `block in <module:Functions>' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.26.0/lib/puppet/parser/functions.rb:215:in `block (2 levels) in newfunction' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.26.0/lib/puppet/util/profiler/around_profiler.rb:58:in `profile' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.26.0/lib/puppet/util/profiler.rb:51:in `profile' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.26.0/lib/puppet/parser/functions.rb:208:in `block in newfunction' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.26.0/lib/puppet/functions.rb:751:in `block in call' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.26.0/lib/puppet/functions.rb:748:in `catch' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.26.0/lib/puppet/functions.rb:748:in `call' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-puppet-2.12.0/lib/rspec-puppet/example/function_example_group.rb:19:in `block in execute' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.26.0/lib/puppet/context.rb:62:in `override' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.26.0/lib/puppet.rb:289:in `override' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-puppet-2.12.0/lib/rspec-puppet/example/function_example_group.rb:18:in `execute' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-puppet-2.12.0/lib/rspec-puppet/matchers/run.rb:10:in `matches?' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.3/lib/rspec/expectations/handler.rb:51:in `block in handle_matcher' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.3/lib/rspec/expectations/handler.rb:27:in `with_matcher' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.3/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.3/lib/rspec/expectations/expectation_target.rb:65:in `to' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.3/lib/rspec/expectations/expectation_target.rb:101:in `to' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/spec/functions/grep_spec.rb:12:in `block (2 levels) in <top (required)>' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:263:in `instance_exec' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:263:in `block in run' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks' /home/runne
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/functions/grep_spec.rb#L15
grep is expected to run grep(1, "two") and raise an Puppet::ParseError with the message matching /first argument not an array/ Failure/Error: expect(subject).to run.with_params(1, 'two').and_raise_error(Puppet::ParseError, %r{first argument not an array}) expected grep(1, "two") to have raised Puppet::ParseError matching /first argument not an array/ instead of NoMethodError(undefined method `grep' for 1:Integer) /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/grep.rb:28:in `block in <module:Functions>' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.26.0/lib/puppet/parser/functions.rb:215:in `block (2 levels) in newfunction' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.26.0/lib/puppet/util/profiler/around_profiler.rb:58:in `profile' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.26.0/lib/puppet/util/profiler.rb:51:in `profile' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.26.0/lib/puppet/parser/functions.rb:208:in `block in newfunction' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.26.0/lib/puppet/functions.rb:751:in `block in call' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.26.0/lib/puppet/functions.rb:748:in `catch' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.26.0/lib/puppet/functions.rb:748:in `call' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-puppet-2.12.0/lib/rspec-puppet/example/function_example_group.rb:19:in `block in execute' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.26.0/lib/puppet/context.rb:62:in `override' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.26.0/lib/puppet.rb:289:in `override' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-puppet-2.12.0/lib/rspec-puppet/example/function_example_group.rb:18:in `execute' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-puppet-2.12.0/lib/rspec-puppet/matchers/run.rb:10:in `matches?' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.3/lib/rspec/expectations/handler.rb:51:in `block in handle_matcher' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.3/lib/rspec/expectations/handler.rb:27:in `with_matcher' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.3/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.3/lib/rspec/expectations/expectation_target.rb:65:in `to' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.3/lib/rspec/expectations/expectation_target.rb:101:in `to' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/spec/functions/grep_spec.rb:17:in `block (2 levels) in <top (required)>' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:263:in `instance_exec' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:263:in `block in run' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks' /home/runner/work/puppetla
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/functions/reject_spec.rb#L10
reject is expected to run reject("one", "two") and raise an Puppet::ParseError with the message matching /first argument not an array/ Failure/Error: expect(subject).to run.with_params('one', 'two').and_raise_error(Puppet::ParseError, %r{first argument not an array}) expected reject("one", "two") to have raised Puppet::ParseError matching /first argument not an array/ instead of NoMethodError(undefined method `grep_v' for "one":String) /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/reject.rb:34:in `block in <module:Functions>' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.26.0/lib/puppet/parser/functions.rb:215:in `block (2 levels) in newfunction' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.26.0/lib/puppet/util/profiler/around_profiler.rb:58:in `profile' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.26.0/lib/puppet/util/profiler.rb:51:in `profile' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.26.0/lib/puppet/parser/functions.rb:208:in `block in newfunction' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.26.0/lib/puppet/functions.rb:751:in `block in call' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.26.0/lib/puppet/functions.rb:748:in `catch' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.26.0/lib/puppet/functions.rb:748:in `call' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-puppet-2.12.0/lib/rspec-puppet/example/function_example_group.rb:19:in `block in execute' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.26.0/lib/puppet/context.rb:62:in `override' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.26.0/lib/puppet.rb:289:in `override' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-puppet-2.12.0/lib/rspec-puppet/example/function_example_group.rb:18:in `execute' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-puppet-2.12.0/lib/rspec-puppet/matchers/run.rb:10:in `matches?' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.3/lib/rspec/expectations/handler.rb:51:in `block in handle_matcher' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.3/lib/rspec/expectations/handler.rb:27:in `with_matcher' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.3/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.3/lib/rspec/expectations/expectation_target.rb:65:in `to' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.3/lib/rspec/expectations/expectation_target.rb:101:in `to' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/spec/functions/reject_spec.rb:12:in `block (2 levels) in <top (required)>' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:263:in `instance_exec' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:263:in `block in run' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/functions/reject_spec.rb#L15
reject is expected to run reject(1, "two") and raise an Puppet::ParseError with the message matching /first argument not an array/ Failure/Error: expect(subject).to run.with_params(1, 'two').and_raise_error(Puppet::ParseError, %r{first argument not an array}) expected reject(1, "two") to have raised Puppet::ParseError matching /first argument not an array/ instead of NoMethodError(undefined method `grep_v' for 1:Integer) /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/reject.rb:34:in `block in <module:Functions>' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.26.0/lib/puppet/parser/functions.rb:215:in `block (2 levels) in newfunction' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.26.0/lib/puppet/util/profiler/around_profiler.rb:58:in `profile' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.26.0/lib/puppet/util/profiler.rb:51:in `profile' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.26.0/lib/puppet/parser/functions.rb:208:in `block in newfunction' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.26.0/lib/puppet/functions.rb:751:in `block in call' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.26.0/lib/puppet/functions.rb:748:in `catch' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.26.0/lib/puppet/functions.rb:748:in `call' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-puppet-2.12.0/lib/rspec-puppet/example/function_example_group.rb:19:in `block in execute' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.26.0/lib/puppet/context.rb:62:in `override' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/puppet-7.26.0/lib/puppet.rb:289:in `override' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-puppet-2.12.0/lib/rspec-puppet/example/function_example_group.rb:18:in `execute' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-puppet-2.12.0/lib/rspec-puppet/matchers/run.rb:10:in `matches?' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.3/lib/rspec/expectations/handler.rb:51:in `block in handle_matcher' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.3/lib/rspec/expectations/handler.rb:27:in `with_matcher' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.3/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.3/lib/rspec/expectations/expectation_target.rb:65:in `to' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.3/lib/rspec/expectations/expectation_target.rb:101:in `to' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/spec/functions/reject_spec.rb:17:in `block (2 levels) in <top (required)>' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:263:in `instance_exec' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:263:in `block in run' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks' /home/runner/work/puppetlabs-stdlib/puppetlabs-stdlib/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.12.2/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks' /home/runner/w
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/functions/shuffle_spec.rb#L9
shuffle is expected to run shuffle([], "extra") and raise an Puppet::ParseError with the message matching /wrong number of arguments/i Failure/Error: expect(subject).to run.with_params([], 'extra').and_raise_error(Puppet::ParseError, %r{wrong number of arguments}i) expected shuffle([], "extra") to have raised Puppet::ParseError matching /wrong number of arguments/i instead of returning []
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/functions/str2bool_spec.rb#L9
str2bool is expected to run str2bool("true", "extra") and raise an Puppet::ParseError with the message matching /wrong number of arguments/i Failure/Error: expect(subject).to run.with_params('true', 'extra').and_raise_error(Puppet::ParseError, %r{wrong number of arguments}i) expected str2bool("true", "extra") to have raised Puppet::ParseError matching /wrong number of arguments/i instead of returning true
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/functions/suffix_spec.rb#L9
suffix is expected to run suffix([], "a", "") and raise an Puppet::ParseError with the message matching /wrong number of arguments/i Failure/Error: expect(subject).to run.with_params([], 'a', '').and_raise_error(Puppet::ParseError, %r{wrong number of arguments}i) expected suffix([], "a", "") to have raised Puppet::ParseError matching /wrong number of arguments/i instead of returning []
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/functions/swapcase_spec.rb#L9
swapcase is expected to run swapcase("a", "") and raise an Puppet::ParseError with the message matching /wrong number of arguments/i Failure/Error: expect(subject).to run.with_params('a', '').and_raise_error(Puppet::ParseError, %r{wrong number of arguments}i) expected swapcase("a", "") to have raised Puppet::ParseError matching /wrong number of arguments/i instead of returning "A"
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/functions/to_json_pretty_spec.rb#L22
stdlib::to_json_pretty is expected to run stdlib::to_json_pretty([[nil], "two", nil, "three"], true) and return "[\n [\n\n ],\n \"two\",\n \"three\"\n]\n" Failure/Error: expect(subject).to run.with_params([[nil], 'two', nil, 'three'], true).and_return("[\n [\n\n ],\n \"two\",\n \"three\"\n]\n") expected stdlib::to_json_pretty([[nil], "two", nil, "three"], true) to have returned "[\n [\n\n ],\n \"two\",\n \"three\"\n]\n" instead of "[\n [\n null\n ],\n \"two\",\n \"three\"\n]\n"
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/functions/to_json_pretty_spec.rb#L27
stdlib::to_json_pretty is expected to run stdlib::to_json_pretty({"omg"=>{"lol"=>nil}, "what"=>nil}, true) and return "{\n}\n" Failure/Error: expect(subject).to run.with_params({ 'omg' => { 'lol' => nil }, 'what' => nil }, true).and_return("{\n}\n") expected stdlib::to_json_pretty({"omg"=>{"lol"=>nil}, "what"=>nil}, true) to have returned "{\n}\n" instead of "{\n \"omg\": {\n \"lol\": null\n }\n}\n"
Acceptance / Setup Test Matrix
Cannot find image for AIX-7.1
Acceptance / Setup Test Matrix
Cannot find image for AIX-7.2
Acceptance / Setup Test Matrix
Cannot find image for Solaris-11
Acceptance / Setup Test Matrix
Cannot find image for Windows-10
Acceptance / Setup Test Matrix
Cannot find image for Windows-2012
Acceptance / Setup Test Matrix
Cannot find image for Windows-2012 R2