Skip to content

Commit

Permalink
- change test from content to len equals
Browse files Browse the repository at this point in the history
  • Loading branch information
petri-lipponen-movesense committed Jan 30, 2025
1 parent ec82320 commit ce8f723
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pdf/test/file_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ void main() {
await file_2.writeAsBytes(await pdfFile.save());
}

final content_1 = file_1.readAsBytesSync();
final content_2 = file_2.readAsBytesSync();
expect(content_1, content_2);
final len_1 = file_1.lengthSync();
final len_2 = file_2.lengthSync();
expect(len_1, len_2);
});
}

0 comments on commit ce8f723

Please sign in to comment.