Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
From: rlane@club.cc.cmu.edu (Rich Lane)
Subject: [sup-talk] [PATCH] fix class name collision in testcases
Date: Tue, 11 Nov 2008 12:52:50 -0500	[thread overview]
Message-ID: <1226425970-7997-1-git-send-email-rlane@club.cc.cmu.edu> (raw)

'rake test' was broken because both testcases' classes had the same name and
the setup method was overridden. This patch changes the class name in
test_mbox_parsing.
---
 test/test_mbox_parsing.rb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/test/test_mbox_parsing.rb b/test/test_mbox_parsing.rb
index 070b152..3a6c2f8 100644
--- a/test/test_mbox_parsing.rb
+++ b/test/test_mbox_parsing.rb
@@ -6,7 +6,7 @@ require 'stringio'
 
 include Redwood
 
-class TestMessage < Test::Unit::TestCase
+class TestMBoxParsing < Test::Unit::TestCase
   def setup
   end
 
-- 
1.5.4.3



             reply	other threads:[~2008-11-11 17:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-11 17:52 Rich Lane [this message]
2008-11-26 23:42 ` William Morgan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1226425970-7997-1-git-send-email-rlane@club.cc.cmu.edu \
    --to=rlane@club.cc.cmu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox