mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Don't fail if unicode.org isn't talking to us
This commit is contained in:
parent
d02794e374
commit
3f2ec19c21
1 changed files with 3 additions and 1 deletions
|
@ -36,6 +36,8 @@ class MultibyteConformanceTest < ActiveSupport::TestCase
|
|||
FileUtils.mkdir_p(CACHE_DIR)
|
||||
Downloader.download(UNIDATA_URL + UNIDATA_FILE, CACHE_DIR + UNIDATA_FILE)
|
||||
@proxy = ActiveSupport::Multibyte::Chars
|
||||
rescue
|
||||
skip "Unable to download test data"
|
||||
end
|
||||
|
||||
def test_normalizations_C
|
||||
|
@ -126,4 +128,4 @@ class MultibyteConformanceTest < ActiveSupport::TestCase
|
|||
def inspect_codepoints(str)
|
||||
str.to_s.unpack("U*").map{|cp| cp.to_s(16) }.join(' ')
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue