From ad35df8f894acf5d0056d47610703b0f94a838c0 Mon Sep 17 00:00:00 2001 From: Eric Putnam Date: Mon, 29 Jan 2018 16:07:57 -0800 Subject: [PATCH] yard is smarter now? On the changed line, YARD thought the bin path given was a regex and was interpretting it as such. It is not a regex. --- .../puppet-strings/yard/handlers/ruby/provider_handler_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/unit/puppet-strings/yard/handlers/ruby/provider_handler_spec.rb b/spec/unit/puppet-strings/yard/handlers/ruby/provider_handler_spec.rb index 3daa8ba..de31c5d 100644 --- a/spec/unit/puppet-strings/yard/handlers/ruby/provider_handler_spec.rb +++ b/spec/unit/puppet-strings/yard/handlers/ruby/provider_handler_spec.rb @@ -82,7 +82,7 @@ Puppet::Type.type(:custom).provide :linux do defaultfor :osfamily => 'RedHat', :operatingsystemmajrelease => '7' has_feature :implements_some_feature has_feature :some_other_feature - commands foo: /usr/bin/foo + commands foo: '/usr/bin/foo' end SOURCE }