Skip to content

Commit

Permalink
fix test expectation
Browse files Browse the repository at this point in the history
  • Loading branch information
denrase committed Nov 19, 2024
1 parent 1fc275d commit 6e544a1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dart/test/sentry_envelope_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -261,10 +261,10 @@ void main() {
final expected =
utf8.encode('$expectedHeaderJsonSerialized\n$expectedItemSerialized');

final options = defaultTestOptions();
options.automatedTestMode = false; // Test if throwing item is ignored.
final envelopeData = <int>[];
await sut
.envelopeStream(defaultTestOptions())
.forEach(envelopeData.addAll);
await sut.envelopeStream(options).forEach(envelopeData.addAll);
expect(envelopeData, expected);
});

Expand Down

0 comments on commit 6e544a1

Please sign in to comment.