test/extra/test_filesystem_tools.rb in nanoc-3.8.0 vs test/extra/test_filesystem_tools.rb in nanoc-4.0.0a1
- old
+ new
@@ -135,10 +135,10 @@
FileUtils.mkdir_p('dir')
File.open('dir/.other', 'w') { |io| io.write('o hai') }
pattern = { dotfiles: '**/.other' }
- assert_raises Nanoc::Errors::GenericTrivial, "Do not know how to handle extra_files: #{pattern.inspect}" do
+ assert_raises Nanoc::Int::Errors::GenericTrivial, "Do not know how to handle extra_files: #{pattern.inspect}" do
Nanoc::Extra::FilesystemTools.all_files_in('dir0', pattern)
end
end
end