cookie.rb: trailing comma
* lib/cgi/cookie.rb: add trailing comma for further lines. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
9547194750
commit
5d071fe381
@ -15,7 +15,7 @@ class CGI
|
|||||||
# 'path' => 'path', # optional
|
# 'path' => 'path', # optional
|
||||||
# 'domain' => 'domain', # optional
|
# 'domain' => 'domain', # optional
|
||||||
# 'expires' => Time.now, # optional
|
# 'expires' => Time.now, # optional
|
||||||
# 'secure' => true # optional
|
# 'secure' => true, # optional
|
||||||
# )
|
# )
|
||||||
#
|
#
|
||||||
# cgi.out("cookie" => [cookie1, cookie2]) { "string" }
|
# cgi.out("cookie" => [cookie1, cookie2]) { "string" }
|
||||||
|
@ -44,7 +44,7 @@ class CGICookieTest < Test::Unit::TestCase
|
|||||||
'path'=>'/cgi-bin/myapp/',
|
'path'=>'/cgi-bin/myapp/',
|
||||||
'domain'=>'www.example.com',
|
'domain'=>'www.example.com',
|
||||||
'expires'=>t,
|
'expires'=>t,
|
||||||
'secure'=>true
|
'secure'=>true,
|
||||||
)
|
)
|
||||||
assert_equal('name1', cookie.name)
|
assert_equal('name1', cookie.name)
|
||||||
assert_equal(value, cookie.value)
|
assert_equal(value, cookie.value)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user