Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
guoci committed Sep 1, 2023
1 parent b436d82 commit 7b848e8
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions lib/dat/dat_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,9 @@ func TestBase_ProcessDB(t *testing.T) {
}
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
d := &Base{
UniProtDB: tt.fields.UniProtDB,
CrapDB: tt.fields.CrapDB,
TaDeDB: tt.fields.TaDeDB,
Records: tt.fields.Records,
}
len_records := ParseFile(tt.args.file, make(chan<- []fas.FastaEntry, 1024))
if len_records != 20407 {
t.Errorf("Number of FASTA entries is incorrect, got %d, want %d", len(d.Records), 20407)
if len_records != 20408 {
t.Errorf("Number of FASTA entries is incorrect, got %d, want %d", len_records, 20408)
}
})
}
Expand Down

0 comments on commit 7b848e8

Please sign in to comment.