lib/cliutils/prefs/pref_validators/url_validator.rb in cliutils-2.1.4 vs lib/cliutils/prefs/pref_validators/url_validator.rb in cliutils-2.2.0
- old
+ new
@@ -7,9 +7,9 @@
# Runs the Validator against the answer.
# @param [Object] text The "text" to evaluate
# @return [String]
def validate(text)
@is_valid = text.to_s =~ URI::DEFAULT_PARSER.regexp[:ABS_URI]
- @message = "Response is not a url: #{ text }"
+ @message = "Response is not a URL: #{ text }"
end
end
end
\ No newline at end of file