test/unit/bio/appl/test_fasta.rb in bio-1.2.1 vs test/unit/bio/appl/test_fasta.rb in bio-1.3.0
- old
+ new
@@ -3,11 +3,11 @@
#
# Copyright:: Copyright (C) 2006
# Mitsuteru C. Nakao <n@bioruby.org>
# License:: The Ruby License
#
-# $Id: test_fasta.rb,v 1.3 2007/04/05 23:35:43 trevor Exp $
+# $Id:$
#
require 'pathname'
libpath = Pathname.new(File.join(File.join(File.dirname(__FILE__), ['..'] * 4, 'lib'))).cleanpath.to_s
$:.unshift(libpath) unless $:.include?(libpath)
@@ -92,10 +92,10 @@
assert_equal('', @obj.output)
# assert_raise(NoMethodError) { @obj.output = "" }
end
def test_option
- option = ['-M'].to_s
+ option = ['-M'].join(' ')
assert(@obj.option = option)
assert_equal(option, @obj.option)
end
def test_format