From 17d5a128d71427255142b113d459bc7f8d2ba820 Mon Sep 17 00:00:00 2001 From: Akinori MUSHA Date: Sun, 21 Apr 2013 19:32:57 +0900 Subject: [PATCH] Fix error messages. --- lib/http/cookie.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/http/cookie.rb b/lib/http/cookie.rb index 959af27..30447d6 100644 --- a/lib/http/cookie.rb +++ b/lib/http/cookie.rb @@ -603,7 +603,7 @@ class HTTP::Cookie if @domain string << "; Domain=#{@domain}" else - raise "for_domain is specified but domain is known" + raise "for_domain is specified but domain is unknown" end end if @path @@ -611,7 +611,7 @@ class HTTP::Cookie string << "; Path=#{@path}" end else - raise "path is known" + raise "path is unknown" end if @max_age string << "; Max-Age=#{@max_age}"