Leave unrelated chat files as main formats them

This commit is contained in:
2026-11-10 15:26:54 +00:00
parent cdd54c113c
commit e059e58caf
8 changed files with 59 additions and 63 deletions
@@ -271,20 +271,19 @@ void main() {
expect(mounted.gateway.listings, 2);
});
testWidgets(
'A refused move is shown in the server\'s words until dismissed',
(tester) async {
final mounted = await pump(tester);
const refusal = '$shown/docs/notes.txt already exists';
mounted.gateway.refusals['move_path'] = refusal;
await dragOnto(tester, 'notes.txt', 'docs');
expect(find.text(refusal), findsOneWidget);
expect(mounted.gateway.listings, 2, reason: 'reloaded all the same');
await tester.tap(find.text('Dismiss'));
await tester.pumpAndSettle();
expect(find.text(refusal), findsNothing);
},
);
testWidgets('A refused move is shown in the server\'s words until dismissed', (
tester,
) async {
final mounted = await pump(tester);
const refusal = '$shown/docs/notes.txt already exists';
mounted.gateway.refusals['move_path'] = refusal;
await dragOnto(tester, 'notes.txt', 'docs');
expect(find.text(refusal), findsOneWidget);
expect(mounted.gateway.listings, 2, reason: 'reloaded all the same');
await tester.tap(find.text('Dismiss'));
await tester.pumpAndSettle();
expect(find.text(refusal), findsNothing);
});
test('canDropEntryOn refuses files, itself and its own subtree', () {
const docs = DirectoryEntry(