Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit a2d1430

Browse files
committed
pulled out dart:ui import
1 parent e924150 commit a2d1430

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

flutter_frontend_server/test/to_string_test.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// found in the LICENSE file.
44

55
import 'dart:io';
6-
import 'dart:ui' show Color;
76

87
import 'package:litetest/litetest.dart';
98
import 'package:path/path.dart' as path;
@@ -47,7 +46,8 @@ Future<void> main(List<String> args) async {
4746
]));
4847
final ProcessResult runResult = Process.runSync(dart, <String>[regularDill]);
4948
checkProcessResult(runResult);
50-
String paintString = '"Paint.toString":"Paint(${const Color(0xffffffff)})"';
49+
String paintString =
50+
'"Paint.toString":"Paint(Color(alpha: 1.0000, red: 1.0000, green: 1.0000, blue: 1.0000, colorSpace: ColorSpace.sRGB))"';
5151
if (buildDir.contains('release')) {
5252
paintString = '"Paint.toString":"Instance of \'Paint\'"';
5353
}

0 commit comments

Comments
 (0)