diff options
author | Steve Kemp <steve@steve.org.uk> | 2012-11-24 10:41:24 +0000 |
---|---|---|
committer | Steve Kemp <steve@steve.org.uk> | 2012-11-24 10:41:24 +0000 |
commit | ad0132925c86f64fab8e3cf7d0702572977178db (patch) | |
tree | 2a3d0ec711980b739abfdca6faf4ef631edbba23 /lib/custodian | |
parent | 1c54daab6be1cd25b72458b77d378790fe2ade0d (diff) |
Updated to allow negative tests.
Diffstat (limited to 'lib/custodian')
-rw-r--r-- | lib/custodian/parser.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/custodian/parser.rb b/lib/custodian/parser.rb index bb9958a..7e45760 100644 --- a/lib/custodian/parser.rb +++ b/lib/custodian/parser.rb @@ -299,7 +299,7 @@ module Custodian new_line = "#{pre} must run ping #{post}" return( parse_line( new_line ) ) - elsif ( line =~ /^\S+\s+must\s+run\s+([^\s]+)(\s+|\.|$)/i ) + elsif ( line =~ /^\S+\s+must(\s+not)?\s+run\s+([^\s]+)(\s+|\.|$)/i ) # # Expand the macro if we should |