зеркало из https://github.com/github/ruby.git
* lib/rexml/doctype.rb, test/rss/test_maker_itunes.rb: replace
multi-byte string. * test/json/{test_json.rb, test_json_unicode.rb}: add magic comment. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
1f7db0db75
Коммит
7c884e9012
|
@ -1,3 +1,11 @@
|
|||
Sat Jan 26 09:41:02 2008 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* lib/rexml/doctype.rb, test/rss/test_maker_itunes.rb: replace
|
||||
multi-byte string.
|
||||
|
||||
* test/json/{test_json.rb, test_json_unicode.rb}:
|
||||
add magic comment.
|
||||
|
||||
Sat Jan 26 09:30:26 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* include/ruby/encoding.h (rb_usascii_encindex): added prototype.
|
||||
|
|
|
@ -188,7 +188,7 @@ module REXML
|
|||
|
||||
# Method contributed by Henrik Martensson
|
||||
def strip_quotes(quoted_string)
|
||||
quoted_string =~ /^[\'\"].*[\´\"]$/ ?
|
||||
quoted_string =~ /^[\'\"].*[\'\"]$/ ?
|
||||
quoted_string[1, quoted_string.length-2] :
|
||||
quoted_string
|
||||
end
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/usr/bin/env ruby
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
require 'test/unit'
|
||||
require 'json'
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/usr/bin/env ruby
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
require 'test/unit'
|
||||
require 'json'
|
||||
|
|
|
@ -462,7 +462,7 @@ module RSS
|
|||
"all of your answers here.",
|
||||
maker_readers, feed_readers)
|
||||
_assert_maker_itunes_summary("This week we talk about surviving in a " +
|
||||
"Red state if you’re a Blue person. Or " +
|
||||
"Red state if you're a Blue person. Or " +
|
||||
"vice versa.",
|
||||
maker_readers, feed_readers)
|
||||
end
|
||||
|
|
Загрузка…
Ссылка в новой задаче