[#19261] lstripped here-document (Re: comments and continuing strings on the next line) — nobu.nakada@...

なかだです。

29 messages 2003/01/01
[#19360] Re: lstripped here-document (Re: comments and continuing strings on the next line) — "K.Kosako" <kosako@...> 2003/01/15

nobu.nakada@nifty.ne.jpさんの

[#19361] Re: lstripped here-document (Re: comments and continuing strings on the next line) — "NAKAMURA, Hiroshi" <nakahiro@...> 2003/01/15

なひです。

[#19364] Re: lstripped here-document (Re: comments and continuing strings on the next line) — nobu.nakada@... 2003/01/17

なかだです。

[#19366] Re: lstripped here-document (Re: comments and continuing strings on the next line) — "NAKAMURA, Hiroshi" <nakahiro@...> 2003/01/17

なひです。

[#19299] [BUG] errno == 0 — Kazuhiro Yoshida <moriq@...>

もりきゅうです。win32だけかもしれません。

22 messages 2003/01/04
[#19301] Re: [BUG] errno == 0 — "U.Nakamura" <usa@...> 2003/01/04

こんにちは、なかむら(う)です。

[#19302] Re: [BUG] errno == 0 — "U.Nakamura" <usa@...> 2003/01/04

こんにちは、なかむら(う)です。

[#19303] Re: [BUG] errno == 0 — "U.Nakamura" <usa@...> 2003/01/04

こんにちは、なかむら(う)です。

[#19304] Re: [BUG] errno == 0 — "U.Nakamura" <usa@...> 2003/01/04

こんにちは、なかむら(う)です。

[#19306] Re: [BUG] errno == 0 — nobu.nakada@... 2003/01/05

なかだです。

[ruby-dev:19382] Re: dbm.so + Berkeley DB[234]

From: Koji Arai <JCA02266@...>
Date: 2003-01-19 21:21:53 UTC
List: ruby-dev #19382
新井です。

別件で、rough の rubyunit で warning を抑止するパッチ。今は 
testunit の方を使うべきなんでしたっけ?

Index: lib/rubyunit/runit/testcase.rb
===================================================================
RCS file: /usr/local/cvsup/ruby/rough/lib/rubyunit/runit/testcase.rb,v
retrieving revision 1.16
diff -u -r1.16 testcase.rb
--- lib/rubyunit/runit/testcase.rb	23 Dec 2001 07:41:25 -0000	1.16
+++ lib/rubyunit/runit/testcase.rb	19 Jan 2003 20:27:36 -0000
@@ -50,9 +50,9 @@
       begin
         run_bare
       rescue AssertionFailedError
-        result.add_failure($@, $!, type)
+        result.add_failure($@, $!, self.class)
       rescue StandardError, ScriptError
-        result.add_error($@, $!, type)
+        result.add_error($@, $!, self.class)
       end
       result.end_test(self)
     end
Index: lib/rubyunit/runit/cui/testrunner.rb
===================================================================
RCS file: /usr/local/cvsup/ruby/rough/lib/rubyunit/runit/cui/testrunner.rb,v
retrieving revision 1.3
diff -u -r1.3 testrunner.rb
--- lib/rubyunit/runit/cui/testrunner.rb	25 Oct 2001 11:43:39 -0000	1.3
+++ lib/rubyunit/runit/cui/testrunner.rb	19 Jan 2003 21:18:09 -0000
@@ -78,7 +78,7 @@
       def print_failures(result)
         @io.puts "Failures: #{result.failure_size}" if result.failure_size > 0
         result.failures.each do |f|
-	  @io.print f.at[0], ": ", f.err, " (", f.err.type, ")\n"
+	  @io.print f.at[0], ": ", f.err, " (", f.err.class, ")\n"
 	  for at in f.at[1..-1]
 	    @io.print "\tfrom ", at, "\n"
 	  end
@@ -88,7 +88,7 @@
       def print_errors(result)
         @io.puts "Errors: #{result.error_size}" if result.error_size > 0
         result.errors.each do |e|
-	  @io.print e.at[0], ": ", e.err, " (", e.err.type, ")\n"
+	  @io.print e.at[0], ": ", e.err, " (", e.err.class, ")\n"
 	  for at in e.at[1..-1]
 	    @io.print "\tfrom ", at, "\n"
 	  end

--
新井康司 (Koji Arai)

In This Thread