Commit 16046b73 authored by Mikaël Salson's avatar Mikaël Salson
Browse files

segmenter_test.js: Make sure the segmenter export is in the right order

parent 729ec24f
Pipeline #65829 passed with stages
in 5 minutes and 26 seconds
......@@ -74,6 +74,10 @@ QUnit.test("segmenter", function(assert) {
assert.ok(clone2_pos < clone1_pos);
assert.ok(clone1_pos < clone0_pos);
var fasta = segment.toFasta();
assert.ok(fasta.indexOf('> test3') < fasta.indexOf('> test2'));
assert.ok(fasta.indexOf('> test2') < fasta.indexOf('> test1'));
m.unselectAll()
m.select(2)
m.changeTime(3)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment