[BioRuby-cvs] bioruby/test/unit/bio test_alignment.rb,1.11,1.12
Naohisa Goto
ngoto at dev.open-bio.org
Wed Dec 26 13:55:44 UTC 2007
Update of /home/repository/bioruby/bioruby/test/unit/bio
In directory dev.open-bio.org:/tmp/cvs-serv17413/test/unit/bio
Modified Files:
test_alignment.rb
Log Message:
Ruby 1.9 compliant: The last comma in Array.[] is no longer allowed.
(For example, class A < Array; end; A[ 1, 2, 3, ] raises error in Ruby 1.9.)
Index: test_alignment.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/test/unit/bio/test_alignment.rb,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** test_alignment.rb 5 Apr 2007 23:35:42 -0000 1.11
--- test_alignment.rb 26 Dec 2007 13:55:40 -0000 1.12
***************
*** 427,431 ****
Sequence::AA.new('MHTL'),
Sequence::AA.new('MQNV'),
! Sequence::AA.new('MKKW'),
]
assert_equal('*:. ', a.match_line)
--- 427,431 ----
Sequence::AA.new('MHTL'),
Sequence::AA.new('MQNV'),
! Sequence::AA.new('MKKW')
]
assert_equal('*:. ', a.match_line)
More information about the bioruby-cvs
mailing list