lib/macros4cuke/exceptions.rb in macros4cuke-0.2.12 vs lib/macros4cuke/exceptions.rb in macros4cuke-0.2.13

- old
+ new

@@ -9,10 +9,10 @@ # Raised when one attempts to define a new macro # that has the same phrase as an existing macro. class DuplicateMacroError < Macros4CukeError def initialize(aPhrase) - super("A macro-step with phrase '[#{aPhrase}' already exist.") + super("A macro-step with phrase '#{aPhrase}' already exist.") end end # class # Raised when one defines an argument name in a macro-step's phrase # and that argument name does not appear in any sub-step. \ No newline at end of file