]> git.donarmstrong.com Git - biopieces.git/blobdiff - code_ruby/test/maasha/test_locator.rb
changed Seq.new argument to hash
[biopieces.git] / code_ruby / test / maasha / test_locator.rb
index dc0fe14ba20d7d7cf2b93d27c89f61710da00569..7517417bfba2aa5d79304316a1e8614b5e93766d 100755 (executable)
@@ -32,7 +32,7 @@ require 'test/helper'
 
 class TestLocator < Test::Unit::TestCase 
   def setup
-    @seq = Seq.new(nil, "tcatgatcaagatctaacagcagaagtacacttctattta", :dna)
+    @seq = Seq.new(seq: "tcatgatcaagatctaacagcagaagtacacttctattta", type: :dna)
   end
 
   test "#new with single position returns correctly" do