I’ve run rubicon on my box and it gives me a syntax error:
./rubicon_tests.rb:374:in require': ./builtin/TestIO.rb:980: parse error (SyntaxError) assert_equal(? , file.getc) ^ ./builtin/TestIO.rb:980: parse error from ./rubicon_tests.rb:374:in
run’
from ./rubicon_tests.rb:373:in each' from ./rubicon_tests.rb:373:in
run’
from AllTests.rb:28
make: *** [test] Error 1
If you replace that line (980) “with assert_equal(?\ , file.getc)” it
does work. There are two ohter errors but these don’t stop the whole
program.
It this a bug in ruby or in rubicon?
urban@fish:~/Programmieren/Ruby/rubicon$ ruby -v
ruby 1.7.2 (2002-06-26) [i686-linux]
Urban
···
–
One is one’s own guardian. What other guardian could one have? With
oneself well disciplined one obtains a rare guardian indeed. 160
Hi,
I’ve run rubicon on my box and it gives me a syntax error:
./rubicon_tests.rb:374:in `require’: ./builtin/TestIO.rb:980: parse error (SyntaxError)
assert_equal(? , file.getc)
^
Since it was confusing:
* parse.y (yylex): obsolete '?<whitespace>'; use '?\s', '?\n',
etc, instead.
It this a bug in ruby or in rubicon?
Updated rubicon.
···
At Fri, 28 Jun 2002 19:23:10 +0900, Urban Hafner wrote:
Sat Jun 15 22:56:37 2002 Yukihiro Matsumoto matz@ruby-lang.org
–
Nobu Nakada
[…]
Updated rubicon.
Ok.
But there are two more error produced and I’m not sure what’s
happening there:
TestString: .E…E…S…
Time: 0.029112
FAILURES!!!
Test Results:
Run: 79/79(1212 asserts) Failures: 0 Errors: 2
Errors: 2
./builtin/StringBase.rb:129:in []='(TestString): string not matched (IndexError) from ./builtin/StringBase.rb:129:in
test_ASET’
from ./rubicon_tests.rb:382:in run' from ./rubicon_tests.rb:373:in
each’
from ./rubicon_tests.rb:373:in run' from AllTests.rb:28 ./builtin/StringBase.rb:891:in
slice!‘(TestString): string not matched (IndexError)
from ./builtin/StringBase.rb:891:in test_slice!' from ./rubicon_tests.rb:382:in
run’
from ./rubicon_tests.rb:373:in each' from ./rubicon_tests.rb:373:in
run’
from AllTests.rb:28
Urban
···
Nobuyoshi Nakada nobu.nokada@softhome.net wrote:
–
From affection arises sorrow, from affection arises fear, but he who is
freed from affection has no sorrow and certainly no fear. 213