Skip to content

Commit

Permalink
More minor cleanup
Browse files Browse the repository at this point in the history
[git-p4: depot-paths = "//src/ZenTest/dev/": change = 5993]
  • Loading branch information
zenspider authored and grosser committed Nov 28, 2010
1 parent f59224b commit 56036d1
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions lib/autotest.rb
Expand Up @@ -611,10 +611,11 @@ def rerun_all_tests
def reset
self.files_to_test.clear
self.find_order.clear
self.interrupted = false
self.known_files = nil
self.last_mtime = T0
self.tainted = false

self.interrupted = false
self.known_files = nil
self.last_mtime = T0
self.tainted = false
self.wants_to_quit = false

hook :reset
Expand Down Expand Up @@ -751,11 +752,11 @@ def clear_exceptions

def exceptions
unless defined? @exceptions then
if @exception_list.empty? then
@exceptions = nil
else
@exceptions = Regexp.union(*@exception_list)
end
@exceptions = if @exception_list.empty? then
nil
else
Regexp.union(*@exception_list)
end
end

@exceptions
Expand Down

0 comments on commit 56036d1

Please sign in to comment.