Skip to content

Commit a706ea8

Browse files
lrhnCommit Queue
authored andcommitted
Remove left-over debugging code that saved files to disk.
Change-Id: I02c595aac991f9b463ce2e5917860ac3aa135bcd Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/439881 Reviewed-by: Brian Wilkerson <[email protected]> Commit-Queue: Brian Wilkerson <[email protected]> Reviewed-by: Konstantin Shcheglov <[email protected]>
1 parent c47a8b0 commit a706ea8

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

pkg/analysis_server/test/src/services/correction/fix/data_driven/replaced_by_type_test.dart

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
@Timeout.none
66
library;
77

8-
import 'dart:io';
9-
108
import 'package:test/test.dart' show Timeout;
119
import 'package:test_reflective_loader/test_reflective_loader.dart';
1210

@@ -369,13 +367,6 @@ extension type const $name${generic(typeParameters)}._(int _) implements Object
369367
var expected =
370368
'$lib1Import$lib2Import$lib2Usage${_replaceInTemplate(template, lib1PrefixDot, lib2PrefixDot, newNameOf)}';
371369

372-
File(
373-
'gen_old_$lib1Prefix${lib2Prefix ?? 'n'}.dart',
374-
).writeAsStringSync(source.toString().replaceAll('package:p/', 'gen_'));
375-
File(
376-
'gen_new_$lib1Prefix${lib2Prefix ?? 'n'}.dart',
377-
).writeAsStringSync(expected.toString().replaceAll('package:p/', 'gen_'));
378-
379370
await _assertExpectedFixes(source, expected);
380371
}
381372

@@ -465,9 +456,6 @@ class Lib2Use {} // Can be referred to avoid unused import warnings.
465456
}
466457
}
467458
}
468-
File('gen_lib.dart').writeAsStringSync(lib1Buffer.toString());
469-
File('gen_lib2.dart').writeAsStringSync(lib2Buffer.toString());
470-
File('gen_fix_data.yaml').writeAsStringSync(fixDataBuffer.toString());
471459
return (
472460
lib1Buffer.toString(),
473461
lib2Buffer.toString(),

0 commit comments

Comments
 (0)