diff options
author | kou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-05-27 12:07:40 +0000 |
---|---|---|
committer | kou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-05-27 12:07:40 +0000 |
commit | 28e78bf7f2ff7a5b3b168b77ca297d8ed475675d (patch) | |
tree | 2603da6363f88cecc09059778a020c9f11db8416 /test/rexml/test_stream.rb | |
parent | effcb9a712ead5e0cb0e30a42fff263b44cb0752 (diff) | |
download | ruby-28e78bf7f2ff7a5b3b168b77ca297d8ed475675d.tar.gz |
* test/rexml/: Use REXMLTests as wrapping module for REXML tests.
I avoid using the same module for library in test because
it provides "include REXML" environment in test. Normally,
users don't use REXML on "include REXML" environment. So I
don't want to write tests on "include REXML" environment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rexml/test_stream.rb')
-rw-r--r-- | test/rexml/test_stream.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rexml/test_stream.rb b/test/rexml/test_stream.rb index 7f270e93da..d9e622f00c 100644 --- a/test/rexml/test_stream.rb +++ b/test/rexml/test_stream.rb @@ -3,7 +3,7 @@ require "rexml/document" require 'rexml/streamlistener' require 'stringio' -module REXML +module REXMLTests class MyListener include REXML::StreamListener end |