lib/guard/busted/templates/Guardfile in guard-busted-0.1.2 vs lib/guard/busted/templates/Guardfile in guard-busted-1.0.0

- old
+ new

@@ -1,7 +1,7 @@ # frozen_string_literal: true guard :busted do watch(%r{^spec/.*\.lua$}) watch(%r{^src/(.*)\.lua$}) { |m| "spec/#{m[1]}_spec.lua" } - watch(%r{^(?!src)(.*)\.lua$}) { |m| "spec/#{m[1]}_spec.lua" } + watch(/^(?!src)(.*)\.lua$/) { |m| "spec/#{m[1]}_spec.lua" } end