test/unit/bio/io/flatfile/test_autodetection.rb in bio-1.4.3.0001 vs test/unit/bio/io/flatfile/test_autodetection.rb in bio-1.5.0
- old
+ new
@@ -3,11 +3,10 @@
#
# Copyright (C) 2006 Naohisa Goto <ng@bioruby.org>
#
# License:: The Ruby License
#
-# $Id:$
#
# loading helper routine for testing bioruby
require 'pathname'
load Pathname.new(File.join(File.dirname(__FILE__), ['..'] * 4,
@@ -347,10 +346,10 @@
# def test_sim4
# end
def test_fastq
fn = File.join(TestDataPath, 'fastq', 'longreads_original_sanger.fastq')
- text = File.read(fn, length=300)
+ text = File.read(fn, 300)
assert_equal(Bio::Fastq, @ad.autodetect(text))
end
def test_fastaformat
fn = File.join(TestDataPath, 'fasta', 'example1.txt')