Skip to content

Commit

Permalink
Revert test to use isNotNull
Browse files Browse the repository at this point in the history
  • Loading branch information
ulusoyca committed May 2, 2024
1 parent 215da51 commit da2ee76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/wolt_modal_sheet_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ void main() {
await tester.tap(find.text('Open sheet'));
await tester.pumpAndSettle();

expect(tester.takeException() != null, true);
expect(tester.takeException(), isNotNull);
});

testWidgets('WoltModalSheet.modalTypeBuilder defaults', (tester) async {
Expand Down

0 comments on commit da2ee76

Please sign in to comment.