@@ -19,7 +19,7 @@ const verbose = false;
1919void 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 ("" );
0 commit comments