test/test-logger.rb in mireru-0.9.1 vs test/test-logger.rb in mireru-0.9.2

- old
+ new

@@ -13,11 +13,11 @@ # You should have received a copy of the GNU General Public License along # with this program; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. require "mireru/logger" -require "mireru/command/mireru" +require "mireru/command" require "stringio" class LoggerTest < Test::Unit::TestCase include MireruTestUtils @@ -28,11 +28,11 @@ def test_info s = "" io = StringIO.new(s) $stdout = io message = <<-EOM -#{Mireru::Command::Mireru::USAGE} +#{Mireru::Command::USAGE} If no argument, then open the current directory. Keybind: n: next p: prev q: quit @@ -46,10 +46,10 @@ s = "" io = StringIO.new(s) $stderr = io message = <<-EOM Warning: valid file not found. -#{Mireru::Command::Mireru::USAGE} +#{Mireru::Command::USAGE} Support file types: png, gif, jpeg(jpg). The others are...yet. EOM @logger.error(message) $stderr = STDERR assert_equal(message, s)