mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/.document: Apply patch for irb, e2mmap and README by Hugh Sasse
<hgs at dmu.ac.uk> from [ruby-core:10135] * lib/prettyprint.rb: Suppress RDoc for PrettyPrint test suite. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@11765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
c695175465
commit
f4095c63e5
3 changed files with 16 additions and 6 deletions
|
|
@ -2,6 +2,13 @@ Thu Feb 15 20:31:07 2007 Akinori MUSHA <knu@iDaemons.org>
|
||||||
|
|
||||||
* lib/uri/ftp.rb: Revert the previous change pending discussion.
|
* lib/uri/ftp.rb: Revert the previous change pending discussion.
|
||||||
|
|
||||||
|
Fri Feb 16 11:18:21 2007 Eric Hodel <drbrain@segment7.net>
|
||||||
|
|
||||||
|
* lib/.document: Apply patch for irb, e2mmap and README by Hugh Sasse
|
||||||
|
<hgs at dmu.ac.uk> from [ruby-core:10135]
|
||||||
|
|
||||||
|
* lib/prettyprint.rb: Suppress RDoc for PrettyPrint test suite.
|
||||||
|
|
||||||
Thu Feb 15 18:10:09 2007 Akinori MUSHA <knu@iDaemons.org>
|
Thu Feb 15 18:10:09 2007 Akinori MUSHA <knu@iDaemons.org>
|
||||||
|
|
||||||
* dir.c (glob_helper): Fix the function declaration.
|
* dir.c (glob_helper): Fix the function declaration.
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,7 @@
|
||||||
|
|
||||||
English.rb
|
English.rb
|
||||||
Env.rb
|
Env.rb
|
||||||
|
README
|
||||||
abbrev.rb
|
abbrev.rb
|
||||||
base64.rb
|
base64.rb
|
||||||
benchmark.rb
|
benchmark.rb
|
||||||
|
|
@ -23,6 +24,7 @@ debug.rb
|
||||||
delegate.rb
|
delegate.rb
|
||||||
drb
|
drb
|
||||||
drb.rb
|
drb.rb
|
||||||
|
e2mmap.rb
|
||||||
erb.rb
|
erb.rb
|
||||||
eregex.rb
|
eregex.rb
|
||||||
fileutils.rb
|
fileutils.rb
|
||||||
|
|
@ -36,6 +38,7 @@ getopts.rb
|
||||||
gserver.rb
|
gserver.rb
|
||||||
importenv.rb
|
importenv.rb
|
||||||
ipaddr.rb
|
ipaddr.rb
|
||||||
|
irb
|
||||||
irb.rb
|
irb.rb
|
||||||
jcode.rb
|
jcode.rb
|
||||||
logger.rb
|
logger.rb
|
||||||
|
|
|
||||||
|
|
@ -381,7 +381,7 @@ end
|
||||||
if __FILE__ == $0
|
if __FILE__ == $0
|
||||||
require 'test/unit'
|
require 'test/unit'
|
||||||
|
|
||||||
class WadlerExample < Test::Unit::TestCase
|
class WadlerExample < Test::Unit::TestCase # :nodoc:
|
||||||
def setup
|
def setup
|
||||||
@tree = Tree.new("aaaa", Tree.new("bbbbb", Tree.new("ccc"),
|
@tree = Tree.new("aaaa", Tree.new("bbbbb", Tree.new("ccc"),
|
||||||
Tree.new("dd")),
|
Tree.new("dd")),
|
||||||
|
|
@ -561,7 +561,7 @@ End
|
||||||
assert_equal(expected, tree_alt(50))
|
assert_equal(expected, tree_alt(50))
|
||||||
end
|
end
|
||||||
|
|
||||||
class Tree
|
class Tree # :nodoc:
|
||||||
def initialize(string, *children)
|
def initialize(string, *children)
|
||||||
@string = string
|
@string = string
|
||||||
@children = children
|
@children = children
|
||||||
|
|
@ -618,7 +618,7 @@ End
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class StrictPrettyExample < Test::Unit::TestCase
|
class StrictPrettyExample < Test::Unit::TestCase # :nodoc:
|
||||||
def prog(width)
|
def prog(width)
|
||||||
PrettyPrint.format('', width) {|q|
|
PrettyPrint.format('', width) {|q|
|
||||||
q.group {
|
q.group {
|
||||||
|
|
@ -763,7 +763,7 @@ End
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
class TailGroup < Test::Unit::TestCase
|
class TailGroup < Test::Unit::TestCase # :nodoc:
|
||||||
def test_1
|
def test_1
|
||||||
out = PrettyPrint.format('', 10) {|q|
|
out = PrettyPrint.format('', 10) {|q|
|
||||||
q.group {
|
q.group {
|
||||||
|
|
@ -783,7 +783,7 @@ End
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class NonString < Test::Unit::TestCase
|
class NonString < Test::Unit::TestCase # :nodoc:
|
||||||
def format(width)
|
def format(width)
|
||||||
PrettyPrint.format([], width, 'newline', lambda {|n| "#{n} spaces"}) {|q|
|
PrettyPrint.format([], width, 'newline', lambda {|n| "#{n} spaces"}) {|q|
|
||||||
q.text(3, 3)
|
q.text(3, 3)
|
||||||
|
|
@ -802,7 +802,7 @@ End
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
class Fill < Test::Unit::TestCase
|
class Fill < Test::Unit::TestCase # :nodoc:
|
||||||
def format(width)
|
def format(width)
|
||||||
PrettyPrint.format('', width) {|q|
|
PrettyPrint.format('', width) {|q|
|
||||||
q.group {
|
q.group {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue