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 | 664943a7b28a33fd5da4e9cc661acef249fa6095 (patch) | |
tree | 2a3d0ec711980b739abfdca6faf4ef631edbba23 /lib/custodian | |
parent | d5050a058128d40c77aef017b56c9626083b2d3e (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 |