lib/atp/validators/duplicate_ids.rb in atp-0.8.0 vs lib/atp/validators/duplicate_ids.rb in atp-1.0.0
- old
+ new
@@ -2,12 +2,12 @@
module Validators
class DuplicateIDs < Validator
def on_completion
if @duplicate_ids
@duplicate_ids.each do |id, nodes|
- Origen.log.error "Test ID #{id} is defined more than once in flow #{flow.name}:"
+ error "Test ID #{id} is defined more than once in flow #{flow.name}:"
nodes.each do |node|
- Origen.log.error " #{node.source}"
+ error " #{node.source}"
end
end
true
end
end