akr
68543f3092
use ML ref. for assertion message.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-18 07:18:56 +00:00
akr
4dc8ff965b
refine previous change.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-28 18:22:23 +00:00
akr
a9c2a18cc7
don't generate temporary files under current directory.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-28 16:51:41 +00:00
nobu
54a3576eaa
* sample/test.rb, test/ruby/test_system.rb(valid_syntax?): keep
...
comment lines first.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-18 03:24:32 +00:00
matz
db7f24b362
* sample/test.rb: "print nil" now prints empty string.
...
* test/ruby/test_system.rb (TestSystem::test_system): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-25 06:07:36 +00:00
akr
6779556b23
fix "-e:1: undefined method `sub' for main:Object (NoMethodError)"
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-29 14:54:13 +00:00
nobu
e41a1c0f10
* parse.y (string_content): get rid of segfault at empty evstr.
...
fixed: [ruby-dev:25113]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-08 02:46:39 +00:00
nahi
994dfc0ae6
* test/*: should not depend on $KCODE.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-18 13:08:08 +00:00
nahi
04b5228aba
* test/*: remove $: trick. [ruby-dev:22763] use test/runner.rb to
...
run test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-29 13:22:27 +00:00
nobu
163a6e81b2
* io.c (rb_io_ungetc): raise an exception at unread stream to
...
avoid unspecified behavior. [ruby-dev:22330]
* test/ruby/test_system.rb (test_syntax): glob relatively from
__FILE__.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-23 10:43:04 +00:00
nahi
d83e21d15d
* lib/rexml/encodings/US-ASCII.rb: typo. [ruby-talk:88650]
...
* test/ruby/test_system.rb: num of asserts depended on running dir.
* test/xsd/test_noencoding.rb: rexml + without iconv/uconv cannot
handle euc-jp. install iconv, uconv or xmlscan.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-23 07:13:59 +00:00
nobu
7fbf13f7f2
* ext/stringio/stringio.c (strio_read): follow IO#read.
...
* test/ruby/ut_eof.rb, test/ruby/test_file.rb, test/ruby/test_pipe.rb,
test/stringio/test_stringio.rb: add EOF test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-05 02:54:48 +00:00
nobu
f136a3225e
* lib/test/unit/collector/dir.rb (Test::Unit::Collector::Dir#collect_file):
...
ignore tests which raised LoadError.
* test/drb/drbtest.rb, test/ruby/test_beginendblock.rb,
test/ruby/test_system.rb: avoid requiring same file twice.
* test/drb/test_drbssl.rb, test/drb/test_drbunix.rb: should not use
ARGV unless invoked directly. do not create test cases unless
required libraries are available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-22 03:53:41 +00:00
nahi
d77b17aa73
* test/ruby/envutil.rb: added. split "rubybin" from test_system.rb.
...
* test/ruby/test_system.rb: use envutil.rb
* test/ruby/test_beginendblock.rb: added.
* test/ruby/beginmainend.rb: added. used in test_beginendblock.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-05 02:56:42 +00:00
nahi
a7357c1965
* test/ruby/test_*.rb: assert_same, assert_match, and so on.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-06 17:27:58 +00:00
nobu
44785befea
* lib/optparse.rb (OptionParser#order, #permute, #parse): allow an
...
array as argument.
* test/ruby/test_*.rb: moved invariants to left side in
assert_equal, and use assert_nil, assert_raises and so on.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-05 15:15:43 +00:00
nahi
65264eadbd
* test/ruby/test_*.rb: replace 'assert(a == b)' with assert_equal(a, b)'
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-05 11:28:27 +00:00
eban
bd895e909d
* test/ruby/test_system.rb (test_system): check existence of ruby
...
interpreter.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-05 03:12:29 +00:00
nahi
aaf5d9c03c
* test/ruby: tests for ruby itself.
...
* test/ruby/test_*.rb: split sample/test.rb into 28 test/unit testcases. some
tests could not be translates... search '!!' mark to see it.
* test/csv/test_csv.rb: should require 'csv', not '../lib/csv'. test runner
should set load path correctly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-04 16:18:59 +00:00