Skip to content

Commit d490f65

Browse files
committed
fix test
1 parent a8fcebd commit d490f65

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/runtests.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ nr002726 = fetchseq("NR_002726.2", 10:20)
1616
nr002726rev = fetchseq("NR_002726.2", 10:20, false)
1717
@test length(nr002726) == 1
1818
@test typeof(nr002726[1]) == FASTA.Record
19-
@test length(sequence(nr002726[1])) == 11
20-
@test length(sequence(nr002726rev[1])) == 11
21-
@test map(x -> x == 'G' ? 'C' : x == 'C' ? 'G' : x == 'T' ? 'A' : x == 'A' ? 'T' : x, sequence(nr002726[1])) == sequence(nr002726rev[1])
19+
@test length(FASTX.sequence(nr002726[1])) == 11
20+
@test length(FASTX.sequence(nr002726rev[1])) == 11
21+
@test map(x -> x == 'G' ? 'C' : x == 'C' ? 'G' : x == 'T' ? 'A' : x == 'A' ? 'T' : x, FASTX.sequence(nr002726[1])) == FASTX.sequence(nr002726rev[1])
2222

2323
@test length(fetchseq("ENSG00000141510")) == 42

0 commit comments

Comments
 (0)