Skip to content

Commit 4b65fce

Browse files
committed
Clean up test names
1 parent aacadba commit 4b65fce

File tree

7 files changed

+11
-10
lines changed

7 files changed

+11
-10
lines changed

packages/core/test/core_test.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -955,7 +955,7 @@ Future<void> main() async {
955955
expect(e, equals('[CssBlock:child=[RichText:(:1 [RichText:(:2)])]]'));
956956
});
957957

958-
testWidgets('#646: renders onRenderBlock inline', (tester) async {
958+
testWidgets('renders onRenderBlock inline', (tester) async {
959959
// https://github.com/daohoangson/flutter_widget_from_html/issues/646
960960
const html = '<span style="display:inline-block;">Foo</span>';
961961
final explained = await explain(
@@ -971,7 +971,7 @@ Future<void> main() async {
971971
expect(explained, equals('[Text:Bar]'));
972972
});
973973

974-
testWidgets('#799: inline block with bg, v-align', (tester) async {
974+
testWidgets('inline block with bg, v-align', (tester) async {
975975
// https://github.com/daohoangson/flutter_widget_from_html/issues/799
976976
const html = '<span style="background-color: #FF6600; '
977977
'display: inline-block; vertical-align: middle">Foo</span>';

packages/core/test/style_border_test.dart

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -763,7 +763,7 @@ void main() {
763763
);
764764
});
765765

766-
testWidgets('#909: ignore radius if border is not uniform', (t) async {
766+
testWidgets('ignore radius if border is not uniform', (t) async {
767767
// https://github.com/daohoangson/flutter_widget_from_html/issues/909
768768
const html = '<section style="border-bottom: 1px solid rgb(62, 62, 62); '
769769
'border-bottom-right-radius: 0px;">Foo</section>';
@@ -1193,7 +1193,8 @@ void main() {
11931193
expect(explained, equals('[RichText:(:Foo)]'));
11941194
});
11951195

1196-
testWidgets('#1044: border zero', (WidgetTester tester) async {
1196+
testWidgets('border zero', (WidgetTester tester) async {
1197+
// https://github.com/daohoangson/flutter_widget_from_html/issues/1044
11971198
const html = '<span style="border: 0 solid red">Foo</span>';
11981199
final explained = await explain(tester, html);
11991200
expect(explained, equals('[RichText:(:Foo)]'));

packages/core/test/style_padding_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ void main() {
252252
);
253253
});
254254

255-
testWidgets('#812: renders padding around empty string', (tester) async {
255+
testWidgets('renders padding around empty string', (tester) async {
256256
// https://github.com/daohoangson/flutter_widget_from_html/issues/812
257257
const html = '<p style="padding: 260px 0px 260px 0px;"></p>';
258258
final explained = await explain(tester, html);

packages/core/test/style_text_align_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ void main() {
367367
});
368368
});
369369

370-
testWidgets('#10: renders styling from outside', (WidgetTester tester) async {
370+
testWidgets('renders styling from outside', (WidgetTester tester) async {
371371
// https://github.com/daohoangson/flutter_widget_from_html/issues/10
372372
const html = '<em><span style="color: red;">'
373373
'<div style="text-align: right;">right</div></span></em>';

packages/core/test/tag_a_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ void main() {
253253
});
254254
});
255255

256-
group('#676: skips decoration', () {
256+
group('skips decoration', () {
257257
// https://github.com/daohoangson/flutter_widget_from_html/issues/676
258258
testWidgets('renders a filled href', (tester) async {
259259
const html = '<a href="$kHref">test</a>';

packages/core/test/tag_li_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -691,7 +691,7 @@ Future<void> main() async {
691691
);
692692
});
693693

694-
testWidgets('#112: LI has empty A', (WidgetTester tester) async {
694+
testWidgets('LI has empty A', (WidgetTester tester) async {
695695
// https://github.com/daohoangson/flutter_widget_from_html/issues/112
696696
const html = '''
697697
<ol>

packages/core/test/tag_table_test.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@ Future<void> main() async {
552552
});
553553

554554
group('background', () {
555-
testWidgets('#171: cell color', (WidgetTester tester) async {
555+
testWidgets('cell color', (WidgetTester tester) async {
556556
// https://github.com/daohoangson/flutter_widget_from_html/issues/171
557557
const html = '<table><tr>'
558558
'<td style="background-color: #f00">Foo</td>'
@@ -572,7 +572,7 @@ Future<void> main() async {
572572
);
573573
});
574574

575-
testWidgets('#1028: row color', (WidgetTester tester) async {
575+
testWidgets('row color', (WidgetTester tester) async {
576576
// https://github.com/daohoangson/flutter_widget_from_html/issues/1028
577577
const html = '<table><tr style="background-color: #f00">'
578578
'<td>Foo</td><td>Bar</td>'

0 commit comments

Comments
 (0)