Unverified Commit c5709251 authored by Jonah Williams's avatar Jonah Williams Committed by GitHub

[flutter_tools] rename to .sksl.json (#56634)

parent 717f9de6
......@@ -836,7 +836,7 @@ abstract class ResidentRunner {
final File outputFile = globals.fsUtils.getUniqueFile(
globals.fs.currentDirectory,
'flutter',
'sksl',
'sksl.json',
);
final Device device = flutterDevices.first.device;
......
......@@ -630,9 +630,9 @@ void main() {
when(mockDevice.name).thenReturn('test device');
await residentRunner.writeSkSL();
expect(testLogger.statusText, contains('flutter_01.sksl'));
expect(globals.fs.file('flutter_01.sksl'), exists);
expect(json.decode(globals.fs.file('flutter_01.sksl').readAsStringSync()), <String, Object>{
expect(testLogger.statusText, contains('flutter_01.sksl.json'));
expect(globals.fs.file('flutter_01.sksl.json'), exists);
expect(json.decode(globals.fs.file('flutter_01.sksl.json').readAsStringSync()), <String, Object>{
'platform': 'android',
'name': 'test device',
'engineRevision': '42.2', // From FakeFlutterVersion
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment