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
About a year ago, b91d005 added a leading '/' to the expected path in the autoloader_layout test. This only works if the module that you're testing is in a directory with the same name as the module itself. It seems like this should not fail, but it does:
$ git clone https://github.com/puppetlabs/puppetlabs-ntp.git
$ cd puppetlabs-ntp
$ puppet-lint manifests/init.pp
manifests/init.pp:1:autoloader_layout:ERROR:ntp not in autoload module layout'
The commit that I referenced earlier fixed the problem that it described, but created this new issue.
The following test demonstrates the problem:
context'foo::bar in rodjek-foo/manifests/bar.pp'dolet(:code){"class foo::bar { }"}let(:path){'rodjek-foo/manifests/bar.pp'}it'should not detect any problems'doexpect(problems).tohave(0).problemsendend
The text was updated successfully, but these errors were encountered:
About a year ago, b91d005 added a leading '/' to the expected path in the autoloader_layout test. This only works if the module that you're testing is in a directory with the same name as the module itself. It seems like this should not fail, but it does:
The commit that I referenced earlier fixed the problem that it described, but created this new issue.
The following test demonstrates the problem:
The text was updated successfully, but these errors were encountered: