Permalink
Browse files

Match EOL in Guardfile expressions

  • Loading branch information...
1 parent 9ebb5fb commit c8f2c2366a0ab844962c36732f8d5ca40d7c1e8f @mgarriott mgarriott committed Jan 1, 2014
Showing with 3 additions and 3 deletions.
  1. +3 −3 Guardfile
View
@@ -1,5 +1,5 @@
guard :minitest do
- watch(%r{^spec/(.*)_spec\.rb})
- watch(%r{^(lib/.*/)?([^/]+)\.rb}) { |m| "spec/#{m[1]}#{m[2]}_spec.rb" }
- watch(%r{^spec/spec_helper\.rb}) { 'spec' }
+ watch(%r{^spec/(.*)_spec\.rb$})
+ watch(%r{^(lib/.*/)?([^/]+)\.rb$}) { |m| "spec/#{m[1]}#{m[2]}_spec.rb" }
+ watch(%r{^spec/spec_helper\.rb$}) { 'spec' }
end

0 comments on commit c8f2c23

Please sign in to comment.