@@ -1525,8 +1525,8 @@ void main() {
1525
1525
state.startEditInteraction (messageId: message.id, originalRawContent: 'foo' );
1526
1526
await tester.pump ();
1527
1527
final (actionButton, cancelButton) = checkSuggestedActionDialog (tester,
1528
- expectedTitle: 'Discard draft ?' ,
1529
- expectedMessage: 'Progress on your current message will be lost. This cannot be undone .' ,
1528
+ expectedTitle: 'Discard the message you’re writing ?' ,
1529
+ expectedMessage: 'When you edit a message, the content that was previously in the compose box is discarded .' ,
1530
1530
expectedActionButtonText: 'Discard' );
1531
1531
1532
1532
await tester.tap (find.byWidget (cancelButton));
@@ -1548,8 +1548,8 @@ void main() {
1548
1548
state.startEditInteraction (messageId: message.id, originalRawContent: 'foo' );
1549
1549
await tester.pump ();
1550
1550
final (actionButton, cancelButton) = checkSuggestedActionDialog (tester,
1551
- expectedTitle: 'Discard draft ?' ,
1552
- expectedMessage: 'Progress on your current message will be lost. This cannot be undone .' ,
1551
+ expectedTitle: 'Discard the message you’re writing ?' ,
1552
+ expectedMessage: 'When you edit a message, the content that was previously in the compose box is discarded .' ,
1553
1553
expectedActionButtonText: 'Discard' );
1554
1554
1555
1555
await tester.tap (find.byWidget (actionButton));
0 commit comments