Skip to content

Commit d5844e8

Browse files
authored
Enable TextStyle hash test on the Web (flutter#50985)
1 parent f79963c commit d5844e8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/flutter/test/painting/text_style_test.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
import 'dart:ui' as ui show TextStyle, ParagraphStyle, FontFeature, Shadow;
66

7-
import 'package:flutter/foundation.dart';
87
import 'package:flutter/painting.dart';
98
import '../flutter_test_alternative.dart';
109

@@ -262,7 +261,7 @@ void main() {
262261
const TextStyle b = TextStyle(fontFamilyFallback: <String>['Noto'], shadows: <ui.Shadow>[ui.Shadow()], fontFeatures: <ui.FontFeature>[ui.FontFeature('abcd')]);
263262
expect(a.hashCode, a.hashCode);
264263
expect(a.hashCode, isNot(equals(b.hashCode)));
265-
}, skip: kIsWeb);
264+
});
266265

267266
test('TextStyle foreground and color combos', () {
268267
const Color red = Color.fromARGB(255, 255, 0, 0);

0 commit comments

Comments
 (0)