Skip to content

Commit d7ea6ff

Browse files
committed
Make descriptions into comments.
1 parent c01a6d0 commit d7ea6ff

File tree

6 files changed

+19252
-1737
lines changed

6 files changed

+19252
-1737
lines changed

pkgs/characters/test/breaks_test.dart

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const verbose = false;
1919
void main() {
2020
// Test [Breaks] on all the available Unicode tests.
2121
group("forward automaton:", () {
22-
for (var (expectedParts, _) in splitTests) {
22+
for (var expectedParts in splitTests) {
2323
for (var (variantParts, kind) in testVariants(expectedParts)) {
2424
test(testDescription(variantParts) + kind, () {
2525
var input = variantParts.join("");
@@ -40,7 +40,7 @@ void main() {
4040

4141
// Test [BackBreaks] directly on all the available Unicode tests.
4242
group("backward automaton:", () {
43-
for (var (expectedParts, _) in splitTests) {
43+
for (var expectedParts in splitTests) {
4444
for (var (variantParts, kind) in testVariants(expectedParts)) {
4545
test(testDescription(variantParts) + kind, () {
4646
var input = variantParts.join("");
@@ -64,7 +64,7 @@ void main() {
6464
// the Unicode tests.
6565
group("nextBreak", () {
6666
// Should find the next break at any position.
67-
for (var (expectedParts, _) in splitTests) {
67+
for (var expectedParts in splitTests) {
6868
for (var (variantParts, kind) in testVariants(expectedParts)) {
6969
test(testDescription(variantParts) + kind, () {
7070
var input = variantParts.join("");
@@ -90,7 +90,7 @@ void main() {
9090
// the Unicode tests.
9191
group("previousBreak", () {
9292
// Should find the next break at any position.
93-
for (var (expectedParts, _) in splitTests) {
93+
for (var expectedParts in splitTests) {
9494
for (var (variantParts, kind) in testVariants(expectedParts)) {
9595
test(testDescription(variantParts) + kind, () {
9696
var input = variantParts.join("");
@@ -119,7 +119,7 @@ void main() {
119119
// the Unicode tests.
120120
group("isGraphemeClusterBreak", () {
121121
// Should find the next break at any position.
122-
for (var (expectedParts, _) in splitTests) {
122+
for (var expectedParts in splitTests) {
123123
for (var (variantParts, kind) in testVariants(expectedParts)) {
124124
test(testDescription(variantParts) + kind, () {
125125
var input = variantParts.join("");

pkgs/characters/test/characters_test.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,15 +209,15 @@ void tests() {
209209
});
210210

211211
group("Unicode test", () {
212-
for (var (gcs, _) in splitTests) {
212+
for (var gcs in splitTests) {
213213
test("[${testDescription(gcs)}]", () {
214214
expectGC(gc(gcs.join()), gcs);
215215
});
216216
}
217217
});
218218

219219
group("Emoji test", () {
220-
for (var (gcs, _) in emojis) {
220+
for (var gcs in emojis) {
221221
test("[${testDescription(gcs)}]", () {
222222
expectGC(gc(gcs.join()), gcs);
223223
});

0 commit comments

Comments
 (0)