Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,6 @@ class CodeViewController extends DisposableController
reportError(
'Failed to parse ${scriptRef.uri}.',
stack: StackTrace.current,
notifyUser: true,
);
return false;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -217,25 +217,6 @@ void main() {
]);
},
);

testWidgetsWithWindowSize('an error message is shown', smallWindowSize, (
WidgetTester tester,
) async {
await pumpDebuggerScreen(tester, mockDebuggerController);
// Dismiss any previous notifications:
notificationService.dismiss(
'Failed to parse package:gallery/src/unknown.dart.',
);
await tester.pumpAndSettle();

await showScript(mockEmptyScriptRef);
await tester.pumpAndSettle();

expect(
notificationService.activeMessages.first.text,
equals('Failed to parse package:gallery/src/unknown.dart.'),
);
});
});
}

Expand Down
Loading