File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed
Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -1360,13 +1360,11 @@ mod tests {
13601360 let target_id = seq_index. get_or_insert_id ( "t1" , Some ( 200 ) ) ;
13611361 let reader = BufReader :: new ( & paf_data[ ..] ) ;
13621362 let expected_records = vec ! [
1363- PafRecord {
1363+ PartialPafRecord {
13641364 query_id: query_id,
1365- query_length: 100 ,
13661365 query_start: 10 ,
13671366 query_end: 20 ,
13681367 target_id: target_id,
1369- target_length: 200 ,
13701368 target_start: 30 ,
13711369 target_end: 40 ,
13721370 strand_and_cigar_offset: 45 , // Forward strand
Original file line number Diff line number Diff line change @@ -136,16 +136,14 @@ mod tests {
136136 // IDs should be 0 and 1 as they're the first entries in the SequenceIndex
137137 let query_id = seq_index. get_id ( "seq1" ) . unwrap ( ) ;
138138 let target_id = seq_index. get_id ( "seq2" ) . unwrap ( ) ;
139-
139+
140140 assert_eq ! (
141141 record,
142142 PartialPafRecord {
143143 query_id,
144- query_length: 100 ,
145144 query_start: 0 ,
146145 query_end: 100 ,
147146 target_id,
148- target_length: 100 ,
149147 target_start: 0 ,
150148 target_end: 100 ,
151149 // If no cigar, then the offset is just the length of the line and cigar_bytes=0
You can’t perform that action at this time.
0 commit comments