mirror of
https://github.com/samsonjs/http-cookie.git
synced 2026-04-26 14:47:43 +00:00
Catch IndexError instead.
This commit is contained in:
parent
94d4b8f2a7
commit
d76101722d
1 changed files with 1 additions and 1 deletions
|
|
@ -620,7 +620,7 @@ class TestHTTPCookieJar < Test::Unit::TestCase
|
||||||
# :filename => File.join(dir, "cookies.sqlite")),
|
# :filename => File.join(dir, "cookies.sqlite")),
|
||||||
# HTTP::Cookie::MAX_COOKIES_TOTAL + gc_threshold)
|
# HTTP::Cookie::MAX_COOKIES_TOTAL + gc_threshold)
|
||||||
#}
|
#}
|
||||||
rescue LoadError
|
rescue IndexError
|
||||||
STDERR.puts 'sqlite3 missing?'
|
STDERR.puts 'sqlite3 missing?'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue