File tree 1 file changed +28
-28
lines changed 1 file changed +28
-28
lines changed Original file line number Diff line number Diff line change @@ -37,33 +37,33 @@ void testHtml(String name, String htmlData) {
37
37
38
38
void main () {
39
39
//Test each HTML element
40
- testData.forEach ((key, value) {
41
- testHtml (key, value);
42
- });
43
- File .fromUri (Uri (path: './goldens/a.png' )).readAsBytesSync ();
44
-
40
+ // testData.forEach((key, value) {
41
+ // testHtml(key, value);
42
+ // });
43
+ // File.fromUri(Uri(path: './goldens/a.png')).readAsBytesSync();
44
+ //
45
45
//Test whitespace processing:
46
- testWidgets ('whitespace golden test' , (WidgetTester tester) async {
47
- await tester.pumpWidget (
48
- TestApp (
49
- Html (
50
- data: """
51
- <p id='whitespace'>
52
- These two lines should have an identical length:<br /><br />
53
-
54
- The quick <b> brown </b><u><i> fox </i></u> jumped over the
55
- lazy
56
-
57
-
58
-
59
-
60
- dog.<br />
61
- The quick brown fox jumped over the lazy dog.
62
- </p>
63
- """
64
- ),
65
- ),
66
- );
67
- await expectLater (find.byType (Html ), matchesGoldenFile ('./goldens/whitespace.png' ));
68
- });
46
+ // testWidgets('whitespace golden test', (WidgetTester tester) async {
47
+ // await tester.pumpWidget(
48
+ // TestApp(
49
+ // Html(
50
+ // data: """
51
+ // <p id='whitespace'>
52
+ // These two lines should have an identical length:<br /><br />
53
+ //
54
+ // The quick <b> brown </b><u><i> fox </i></u> jumped over the
55
+ // lazy
56
+ //
57
+ //
58
+ //
59
+ //
60
+ // dog.<br />
61
+ // The quick brown fox jumped over the lazy dog.
62
+ // </p>
63
+ // """
64
+ // ),
65
+ // ),
66
+ // );
67
+ // await expectLater(find.byType(Html), matchesGoldenFile('./goldens/whitespace.png'));
68
+ // });
69
69
}
You can’t perform that action at this time.
0 commit comments