Spelling tests language
Closes https://github.com/dart-lang/sdk/pull/50763
GitOrigin-RevId: ee6187bc11c8211402b6aa722eb2c0826cba3d5b
Change-Id: I598004024a89e25710b9f16749ffb7c6fd6753c2
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/276340
Reviewed-by: Erik Ernst <eernst@google.com>
Commit-Queue: Erik Ernst <eernst@google.com>
diff --git a/tests/language/canonicalize/hashing_shallow_collision_array_test.dart b/tests/language/canonicalize/hashing_shallow_collision_array_test.dart
index e094e06..b02fbb9 100644
--- a/tests/language/canonicalize/hashing_shallow_collision_array_test.dart
+++ b/tests/language/canonicalize/hashing_shallow_collision_array_test.dart
@@ -2,7 +2,7 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-// If canonicialization hashes with only a field's cid, this will exhibit
+// If canonicalization hashes with only a field's cid, this will exhibit
// quadratic time.
// 10,000 elements.
diff --git a/tests/language/canonicalize/hashing_shallow_collision_instance_2_test.dart b/tests/language/canonicalize/hashing_shallow_collision_instance_2_test.dart
index 621b68e..426fd2d 100644
--- a/tests/language/canonicalize/hashing_shallow_collision_instance_2_test.dart
+++ b/tests/language/canonicalize/hashing_shallow_collision_instance_2_test.dart
@@ -2,7 +2,7 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-// If canonicialization hashes with only a field's cid, this will exhibit
+// If canonicalization hashes with only a field's cid, this will exhibit
// quadratic time.
class Box {
diff --git a/tests/language/canonicalize/hashing_shallow_collision_instance_3_test.dart b/tests/language/canonicalize/hashing_shallow_collision_instance_3_test.dart
index b806b6a..49347cd 100644
--- a/tests/language/canonicalize/hashing_shallow_collision_instance_3_test.dart
+++ b/tests/language/canonicalize/hashing_shallow_collision_instance_3_test.dart
@@ -2,7 +2,7 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-// If canonicialization hashes with only a field's cid, this will exhibit
+// If canonicalization hashes with only a field's cid, this will exhibit
// quadratic time.
class Box {
diff --git a/tests/language/canonicalize/hashing_shallow_collision_instance_test.dart b/tests/language/canonicalize/hashing_shallow_collision_instance_test.dart
index 2de48b2..f55cc84 100644
--- a/tests/language/canonicalize/hashing_shallow_collision_instance_test.dart
+++ b/tests/language/canonicalize/hashing_shallow_collision_instance_test.dart
@@ -2,7 +2,7 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-// If canonicialization hashes with only a field's cid, this will exhibit
+// If canonicalization hashes with only a field's cid, this will exhibit
// quadratic time.
class Box {
diff --git a/tests/language/const/const2_test.dart b/tests/language/const/const2_test.dart
index 6a9f94e..48ecfba 100644
--- a/tests/language/const/const2_test.dart
+++ b/tests/language/const/const2_test.dart
@@ -74,7 +74,7 @@
// Multiple binary expressions
const BOP20 = 1 * INT_LIT / 3 + INT_LIT + 9;
-// Parenthised expressions
+// Parenthesized expressions
const BOP30 = (1 > 2);
const BOP31 = (1 * 2) + 3;
const BOP32 = 3 + (1 * 2);
diff --git a/tests/language/enum/enum_test.dart b/tests/language/enum/enum_test.dart
index 9678587..5a52743 100644
--- a/tests/language/enum/enum_test.dart
+++ b/tests/language/enum/enum_test.dart
@@ -30,7 +30,7 @@
__proto__,
arguments,
caller,
- calee,
+ callee,
name,
constructor,
apply,
diff --git a/tests/language/function/type_alias4_test.dart b/tests/language/function/type_alias4_test.dart
index 3bdba67..8a0ee80 100644
--- a/tests/language/function/type_alias4_test.dart
+++ b/tests/language/function/type_alias4_test.dart
@@ -27,12 +27,12 @@
var b = new A<bool>();
var i = new A<int>();
- Expect.isTrue(b.foo is F, 'runtime type of covaraint parameters is Object');
- Expect.isTrue(i.foo is F, 'runtime type of covaraint parameters is Object');
+ Expect.isTrue(b.foo is F, 'runtime type of covariant parameters is Object');
+ Expect.isTrue(i.foo is F, 'runtime type of covariant parameters is Object');
Expect.isTrue(
- b.foo is F<Object>, 'runtime type of covaraint parameters is Object');
+ b.foo is F<Object>, 'runtime type of covariant parameters is Object');
Expect.isTrue(
- i.foo is F<Object>, 'runtime type of covaraint parameters is Object');
+ i.foo is F<Object>, 'runtime type of covariant parameters is Object');
Expect.isTrue(b.foo is F<bool>);
Expect.isTrue(i.foo is F<int>);
Expect.isTrue(b.foo is! F<int>);
diff --git a/tests/language/generic/constructor_mixin2_runtime_test.dart b/tests/language/generic/constructor_mixin2_runtime_test.dart
index 969c893..3c44d0ca 100644
--- a/tests/language/generic/constructor_mixin2_runtime_test.dart
+++ b/tests/language/generic/constructor_mixin2_runtime_test.dart
@@ -5,7 +5,7 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-// Test that parameter types types are checked correctly in the face of
+// Test that parameter types are checked correctly in the face of
// mixin application upon a generic constructor.
import '../dynamic_type_helper.dart';
diff --git a/tests/language/generic/constructor_mixin2_test.dart b/tests/language/generic/constructor_mixin2_test.dart
index 88281e3..a98846a 100644
--- a/tests/language/generic/constructor_mixin2_test.dart
+++ b/tests/language/generic/constructor_mixin2_test.dart
@@ -2,7 +2,7 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-// Test that parameter types types are checked correctly in the face of
+// Test that parameter types are checked correctly in the face of
// mixin application upon a generic constructor.
import '../dynamic_type_helper.dart';
diff --git a/tests/language/generic/constructor_mixin3_runtime_test.dart b/tests/language/generic/constructor_mixin3_runtime_test.dart
index dfdd2bf..9098eff 100644
--- a/tests/language/generic/constructor_mixin3_runtime_test.dart
+++ b/tests/language/generic/constructor_mixin3_runtime_test.dart
@@ -5,7 +5,7 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-// Test that parameter types types are checked correctly in the face of
+// Test that parameter types are checked correctly in the face of
// mixin application upon a generic constructor.
import '../dynamic_type_helper.dart';
diff --git a/tests/language/generic/constructor_mixin3_test.dart b/tests/language/generic/constructor_mixin3_test.dart
index 04e86a1..e51e0cb 100644
--- a/tests/language/generic/constructor_mixin3_test.dart
+++ b/tests/language/generic/constructor_mixin3_test.dart
@@ -2,7 +2,7 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-// Test that parameter types types are checked correctly in the face of
+// Test that parameter types are checked correctly in the face of
// mixin application upon a generic constructor.
import '../dynamic_type_helper.dart';
diff --git a/tests/language/generic/constructor_mixin_runtime_test.dart b/tests/language/generic/constructor_mixin_runtime_test.dart
index 31d7fd2..a0425f5 100644
--- a/tests/language/generic/constructor_mixin_runtime_test.dart
+++ b/tests/language/generic/constructor_mixin_runtime_test.dart
@@ -5,7 +5,7 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-// Test that parameter types types are checked correctly in the face of
+// Test that parameter types are checked correctly in the face of
// mixin application upon a generic constructor.
import '../dynamic_type_helper.dart';
diff --git a/tests/language/generic/constructor_mixin_test.dart b/tests/language/generic/constructor_mixin_test.dart
index f79f865..015b052 100644
--- a/tests/language/generic/constructor_mixin_test.dart
+++ b/tests/language/generic/constructor_mixin_test.dart
@@ -2,7 +2,7 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-// Test that parameter types types are checked correctly in the face of
+// Test that parameter types are checked correctly in the face of
// mixin application upon a generic constructor.
import '../dynamic_type_helper.dart';
diff --git a/tests/language/generic/generic_metadata_test.dart b/tests/language/generic/generic_metadata_test.dart
index 4ff135b..ea84945 100644
--- a/tests/language/generic/generic_metadata_test.dart
+++ b/tests/language/generic/generic_metadata_test.dart
@@ -60,7 +60,7 @@
@A<int>(0)
factory C.facRed(@A<int>(0) int x) = C;
- // Instance (virtual) declartions.
+ // Instance (virtual) declarations.
@A<int>(0)
final f = 0;
@@ -79,7 +79,7 @@
@A<int>(0)
int operator +(@A<int>(0) int x) => x;
- // Static declartions.
+ // Static declarations.
@A<int>(0)
static const sc = C<int>(0);
@@ -101,7 +101,7 @@
@A<int>(0)
abstract class AC<@A<int>(0) T> {
- // Instance (virtual) declartions.
+ // Instance (virtual) declarations.
@A<int>(0)
abstract final f;
@@ -123,7 +123,7 @@
@A<int>(0)
extension E<@A<int>(0) T> on T {
- // Instance extension member declartions.
+ // Instance extension member declarations.
@A<int>(0)
void mp(@A<int>(0) Object x, [@A<int>(0) int y = 0]) {}
@@ -139,7 +139,7 @@
@A<int>(0)
int operator +(@A<int>(0) int x) => x;
- // Static declartions.
+ // Static declarations.
@A<int>(0)
static const sc = C<int>(0);
@@ -161,7 +161,7 @@
@A<int>(0)
mixin M<@A<int>(0) T> {
- // Instance member declartions.
+ // Instance member declarations.
@A<int>(0)
final f = 0;
@@ -180,7 +180,7 @@
@A<int>(0)
int operator +(@A<int>(0) int x) => x;
- // Static declartions.
+ // Static declarations.
@A<int>(0)
static const sc = C<int>(0);
diff --git a/tests/language/implicit_creation/implicit_new_or_const_generic_test.dart b/tests/language/implicit_creation/implicit_new_or_const_generic_test.dart
index af98849..304da65 100644
--- a/tests/language/implicit_creation/implicit_new_or_const_generic_test.dart
+++ b/tests/language/implicit_creation/implicit_new_or_const_generic_test.dart
@@ -9,7 +9,7 @@
// Test that const constructors with const arguments do not become const
// if not in a const context.
-// This test uses a generic class cosntructor with no prefix,
+// This test uses a generic class constructor with no prefix,
// which requires new Dart 2 syntax.
main() {
diff --git a/tests/language/language_spec_parser.status b/tests/language/language_spec_parser.status
index e466f47..d599146 100644
--- a/tests/language/language_spec_parser.status
+++ b/tests/language/language_spec_parser.status
@@ -6,7 +6,7 @@
class/large_class_declaration_test: Skip # JVM stack overflow.
closure/type_test: Pass # Marked as RuntimeError for all in language_2.status.
const/native_factory_test: Skip # Uses `native`.
-double/invalid_test: Skip # Contains illegaly formatted double.
+double/invalid_test: Skip # Contains illegally formatted double.
nnbd/syntax/opt_out_nnbd_modifiers_test: Skip # Requires opt-out of NNBD.
regress/regress1751477_test: Skip # Times out: 9 levels, exponential blowup => 430 secs.
syntax/deep_nesting_expression_test: Skip # JVM stack overflow.
diff --git a/tests/language/library/env_test.dart b/tests/language/library/env_test.dart
index fd2a2a6..eadacf9 100644
--- a/tests/language/library/env_test.dart
+++ b/tests/language/library/env_test.dart
@@ -6,7 +6,7 @@
import 'package:expect/config.dart';
main() {
- // Comman libraries should appear on all backends.
+ // Common libraries should appear on all backends.
Expect.isTrue(const bool.fromEnvironment("dart.library.async"));
Expect.isTrue(const bool.fromEnvironment("dart.library.collection"));
Expect.isTrue(const bool.fromEnvironment("dart.library.convert"));
diff --git a/tests/language/method/binding_test.dart b/tests/language/method/binding_test.dart
index 325e1c9..b728d15 100644
--- a/tests/language/method/binding_test.dart
+++ b/tests/language/method/binding_test.dart
@@ -107,7 +107,7 @@
c.f = () => "success";
Expect.equals("success", c.f());
- // referencing instance method with explicit 'this' qualiier
+ // referencing instance method with explicit 'this' qualifier
var o6 = new A(6);
var f6 = o6.getThis();
Expect.equals(6, f6());
diff --git a/tests/language/mixin_declaration/mixin_declaration_invalid_override_test.dart b/tests/language/mixin_declaration/mixin_declaration_invalid_override_test.dart
index 2b4da04..3eaa34c 100644
--- a/tests/language/mixin_declaration/mixin_declaration_invalid_override_test.dart
+++ b/tests/language/mixin_declaration/mixin_declaration_invalid_override_test.dart
@@ -10,7 +10,7 @@
num foo(num x);
}
-// Overides must still be valid, wrt. signatures and types.
+// Overrides must still be valid, wrt. signatures and types.
mixin M3 on UnaryNum {
// M3.foo is a valid override of UnaryNum.foo
diff --git a/tests/language/nnbd/experiment_release_version/opt_in_test.dart b/tests/language/nnbd/experiment_release_version/opt_in_test.dart
index b6334ed..66b880c 100644
--- a/tests/language/nnbd/experiment_release_version/opt_in_test.dart
+++ b/tests/language/nnbd/experiment_release_version/opt_in_test.dart
@@ -2,7 +2,7 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-// This version should continue to opt in to null safety in purpetuity (or at
+// This version should continue to opt in to null safety in perpetuity (or at
// least until Dart 3), when the experiment is enabled.
// @dart = 2.12
diff --git a/tests/language/optimize/deopt_lazy_finalization_test.dart b/tests/language/optimize/deopt_lazy_finalization_test.dart
index aaebd21..8715070 100644
--- a/tests/language/optimize/deopt_lazy_finalization_test.dart
+++ b/tests/language/optimize/deopt_lazy_finalization_test.dart
@@ -1,7 +1,7 @@
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-// Test deoptimziation caused by lazy finalization.
+// Test deoptimization caused by lazy finalization.
// VMOptions=--optimization-counter-threshold=10 --no-use-osr
import "package:expect/expect.dart";
diff --git a/tests/language/sync_star/generator2_test.dart b/tests/language/sync_star/generator2_test.dart
index feaee63..051b6b2 100644
--- a/tests/language/sync_star/generator2_test.dart
+++ b/tests/language/sync_star/generator2_test.dart
@@ -8,7 +8,7 @@
import "dart:async";
var sync = "topLevelSync";
-var async = "topLevelAync";
+var async = "topLevelAsync";
var await = "topLevelAwait";
var yield = "topLevelYield";
diff --git a/tests/language/unsorted/memory_swap_test.dart b/tests/language/unsorted/memory_swap_test.dart
index b8d093e..ba481b1 100644
--- a/tests/language/unsorted/memory_swap_test.dart
+++ b/tests/language/unsorted/memory_swap_test.dart
@@ -2,7 +2,7 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-// Test that the ParalleMoveResolver in the VM uses valid registers
+// Test that the ParallelMoveResolver in the VM uses valid registers
// when requiring scratch registers.
main() {
diff --git a/tests/language_2/canonicalize/hashing_shallow_collision_array_test.dart b/tests/language_2/canonicalize/hashing_shallow_collision_array_test.dart
index 53fdba0..38de637 100644
--- a/tests/language_2/canonicalize/hashing_shallow_collision_array_test.dart
+++ b/tests/language_2/canonicalize/hashing_shallow_collision_array_test.dart
@@ -4,7 +4,7 @@
// @dart = 2.9
-// If canonicialization hashes with only a field's cid, this will exhibit
+// If canonicalization hashes with only a field's cid, this will exhibit
// quadratic time.
// 10,000 elements.
diff --git a/tests/language_2/canonicalize/hashing_shallow_collision_instance_2_test.dart b/tests/language_2/canonicalize/hashing_shallow_collision_instance_2_test.dart
index bf3e106..73f4922 100644
--- a/tests/language_2/canonicalize/hashing_shallow_collision_instance_2_test.dart
+++ b/tests/language_2/canonicalize/hashing_shallow_collision_instance_2_test.dart
@@ -4,7 +4,7 @@
// @dart = 2.9
-// If canonicialization hashes with only a field's cid, this will exhibit
+// If canonicalization hashes with only a field's cid, this will exhibit
// quadratic time.
class Box {
diff --git a/tests/language_2/canonicalize/hashing_shallow_collision_instance_3_test.dart b/tests/language_2/canonicalize/hashing_shallow_collision_instance_3_test.dart
index df8169e..7835b47 100644
--- a/tests/language_2/canonicalize/hashing_shallow_collision_instance_3_test.dart
+++ b/tests/language_2/canonicalize/hashing_shallow_collision_instance_3_test.dart
@@ -4,7 +4,7 @@
// @dart = 2.9
-// If canonicialization hashes with only a field's cid, this will exhibit
+// If canonicalization hashes with only a field's cid, this will exhibit
// quadratic time.
class Box {
diff --git a/tests/language_2/canonicalize/hashing_shallow_collision_instance_test.dart b/tests/language_2/canonicalize/hashing_shallow_collision_instance_test.dart
index 7015d35..c2af8e0 100644
--- a/tests/language_2/canonicalize/hashing_shallow_collision_instance_test.dart
+++ b/tests/language_2/canonicalize/hashing_shallow_collision_instance_test.dart
@@ -4,7 +4,7 @@
// @dart = 2.9
-// If canonicialization hashes with only a field's cid, this will exhibit
+// If canonicalization hashes with only a field's cid, this will exhibit
// quadratic time.
class Box {
diff --git a/tests/language_2/const/const2_test.dart b/tests/language_2/const/const2_test.dart
index 63c3374..fca6263 100644
--- a/tests/language_2/const/const2_test.dart
+++ b/tests/language_2/const/const2_test.dart
@@ -76,7 +76,7 @@
// Multiple binary expressions
const BOP20 = 1 * INT_LIT / 3 + INT_LIT + 9;
-// Parenthised expressions
+// Parenthesized expressions
const BOP30 = (1 > 2);
const BOP31 = (1 * 2) + 3;
const BOP32 = 3 + (1 * 2);
diff --git a/tests/language_2/enum/enum_test.dart b/tests/language_2/enum/enum_test.dart
index 4cb22a1..f409148 100644
--- a/tests/language_2/enum/enum_test.dart
+++ b/tests/language_2/enum/enum_test.dart
@@ -32,7 +32,7 @@
__proto__,
arguments,
caller,
- calee,
+ callee,
name,
constructor,
apply,
diff --git a/tests/language_2/function/type_alias4_test.dart b/tests/language_2/function/type_alias4_test.dart
index 5e0e652..b99efe0 100644
--- a/tests/language_2/function/type_alias4_test.dart
+++ b/tests/language_2/function/type_alias4_test.dart
@@ -29,12 +29,12 @@
var b = new A<bool>();
var i = new A<int>();
- Expect.isTrue(b.foo is F, 'runtime type of covaraint parameters is Object');
- Expect.isTrue(i.foo is F, 'runtime type of covaraint parameters is Object');
+ Expect.isTrue(b.foo is F, 'runtime type of covariant parameters is Object');
+ Expect.isTrue(i.foo is F, 'runtime type of covariant parameters is Object');
Expect.isTrue(
- b.foo is F<Object>, 'runtime type of covaraint parameters is Object');
+ b.foo is F<Object>, 'runtime type of covariant parameters is Object');
Expect.isTrue(
- i.foo is F<Object>, 'runtime type of covaraint parameters is Object');
+ i.foo is F<Object>, 'runtime type of covariant parameters is Object');
Expect.isTrue(b.foo is F<bool>);
Expect.isTrue(i.foo is F<int>);
Expect.isTrue(b.foo is! F<int>);
diff --git a/tests/language_2/generic/constructor_mixin2_runtime_test.dart b/tests/language_2/generic/constructor_mixin2_runtime_test.dart
index dd4cbf7..2d693e3 100644
--- a/tests/language_2/generic/constructor_mixin2_runtime_test.dart
+++ b/tests/language_2/generic/constructor_mixin2_runtime_test.dart
@@ -7,7 +7,7 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-// Test that parameter types types are checked correctly in the face of
+// Test that parameter types are checked correctly in the face of
// mixin application upon a generic constructor.
import '../dynamic_type_helper.dart';
diff --git a/tests/language_2/generic/constructor_mixin2_test.dart b/tests/language_2/generic/constructor_mixin2_test.dart
index a2d8f29..a187eed 100644
--- a/tests/language_2/generic/constructor_mixin2_test.dart
+++ b/tests/language_2/generic/constructor_mixin2_test.dart
@@ -4,7 +4,7 @@
// @dart = 2.9
-// Test that parameter types types are checked correctly in the face of
+// Test that parameter types are checked correctly in the face of
// mixin application upon a generic constructor.
import '../dynamic_type_helper.dart';
diff --git a/tests/language_2/generic/constructor_mixin3_runtime_test.dart b/tests/language_2/generic/constructor_mixin3_runtime_test.dart
index ed04a8a..1b90efb 100644
--- a/tests/language_2/generic/constructor_mixin3_runtime_test.dart
+++ b/tests/language_2/generic/constructor_mixin3_runtime_test.dart
@@ -7,7 +7,7 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-// Test that parameter types types are checked correctly in the face of
+// Test that parameter types are checked correctly in the face of
// mixin application upon a generic constructor.
import '../dynamic_type_helper.dart';
diff --git a/tests/language_2/generic/constructor_mixin3_test.dart b/tests/language_2/generic/constructor_mixin3_test.dart
index 6f847d3..a2e5129 100644
--- a/tests/language_2/generic/constructor_mixin3_test.dart
+++ b/tests/language_2/generic/constructor_mixin3_test.dart
@@ -4,7 +4,7 @@
// @dart = 2.9
-// Test that parameter types types are checked correctly in the face of
+// Test that parameter types are checked correctly in the face of
// mixin application upon a generic constructor.
import '../dynamic_type_helper.dart';
diff --git a/tests/language_2/generic/constructor_mixin_runtime_test.dart b/tests/language_2/generic/constructor_mixin_runtime_test.dart
index c0898b7..1430c8e 100644
--- a/tests/language_2/generic/constructor_mixin_runtime_test.dart
+++ b/tests/language_2/generic/constructor_mixin_runtime_test.dart
@@ -7,7 +7,7 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-// Test that parameter types types are checked correctly in the face of
+// Test that parameter types are checked correctly in the face of
// mixin application upon a generic constructor.
import '../dynamic_type_helper.dart';
diff --git a/tests/language_2/generic/constructor_mixin_test.dart b/tests/language_2/generic/constructor_mixin_test.dart
index 1848573..e87d5d0 100644
--- a/tests/language_2/generic/constructor_mixin_test.dart
+++ b/tests/language_2/generic/constructor_mixin_test.dart
@@ -4,7 +4,7 @@
// @dart = 2.9
-// Test that parameter types types are checked correctly in the face of
+// Test that parameter types are checked correctly in the face of
// mixin application upon a generic constructor.
import '../dynamic_type_helper.dart';
diff --git a/tests/language_2/implicit_creation/implicit_new_or_const_generic_test.dart b/tests/language_2/implicit_creation/implicit_new_or_const_generic_test.dart
index 538207f..1215efc 100644
--- a/tests/language_2/implicit_creation/implicit_new_or_const_generic_test.dart
+++ b/tests/language_2/implicit_creation/implicit_new_or_const_generic_test.dart
@@ -11,7 +11,7 @@
// Test that const constructors with const arguments do not become const
// if not in a const context.
-// This test uses a generic class cosntructor with no prefix,
+// This test uses a generic class constructor with no prefix,
// which requires new Dart 2 syntax.
main() {
diff --git a/tests/language_2/language_2_spec_parser.status b/tests/language_2/language_2_spec_parser.status
index e466f47..d599146 100644
--- a/tests/language_2/language_2_spec_parser.status
+++ b/tests/language_2/language_2_spec_parser.status
@@ -6,7 +6,7 @@
class/large_class_declaration_test: Skip # JVM stack overflow.
closure/type_test: Pass # Marked as RuntimeError for all in language_2.status.
const/native_factory_test: Skip # Uses `native`.
-double/invalid_test: Skip # Contains illegaly formatted double.
+double/invalid_test: Skip # Contains illegally formatted double.
nnbd/syntax/opt_out_nnbd_modifiers_test: Skip # Requires opt-out of NNBD.
regress/regress1751477_test: Skip # Times out: 9 levels, exponential blowup => 430 secs.
syntax/deep_nesting_expression_test: Skip # JVM stack overflow.
diff --git a/tests/language_2/method/binding_test.dart b/tests/language_2/method/binding_test.dart
index e5bd08d..bb15cf1 100644
--- a/tests/language_2/method/binding_test.dart
+++ b/tests/language_2/method/binding_test.dart
@@ -109,7 +109,7 @@
c.f = () => "success";
Expect.equals("success", c.f());
- // referencing instance method with explicit 'this' qualiier
+ // referencing instance method with explicit 'this' qualifier
var o6 = new A(6);
var f6 = o6.getThis();
Expect.equals(6, f6());
diff --git a/tests/language_2/mixin_declaration/mixin_declaration_invalid_override_test.dart b/tests/language_2/mixin_declaration/mixin_declaration_invalid_override_test.dart
index 89e13bb..45da93e 100644
--- a/tests/language_2/mixin_declaration/mixin_declaration_invalid_override_test.dart
+++ b/tests/language_2/mixin_declaration/mixin_declaration_invalid_override_test.dart
@@ -12,7 +12,7 @@
num foo(num x);
}
-// Overides must still be valid, wrt. signatures and types.
+// Overrides must still be valid, wrt. signatures and types.
mixin M3 on UnaryNum {
// M3.foo is a valid override of UnaryNum.foo
diff --git a/tests/language_2/optimize/deopt_lazy_finalization_test.dart b/tests/language_2/optimize/deopt_lazy_finalization_test.dart
index 7ed8cce..3c0f276 100644
--- a/tests/language_2/optimize/deopt_lazy_finalization_test.dart
+++ b/tests/language_2/optimize/deopt_lazy_finalization_test.dart
@@ -1,7 +1,7 @@
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-// Test deoptimziation caused by lazy finalization.
+// Test deoptimization caused by lazy finalization.
// VMOptions=--optimization-counter-threshold=10 --no-use-osr
// @dart = 2.9
diff --git a/tests/language_2/sync_star/generator2_test.dart b/tests/language_2/sync_star/generator2_test.dart
index 88406c2..822d3a4 100644
--- a/tests/language_2/sync_star/generator2_test.dart
+++ b/tests/language_2/sync_star/generator2_test.dart
@@ -10,7 +10,7 @@
import "dart:async";
var sync = "topLevelSync";
-var async = "topLevelAync";
+var async = "topLevelAsync";
var await = "topLevelAwait";
var yield = "topLevelYield";
diff --git a/tests/language_2/unsorted/memory_swap_test.dart b/tests/language_2/unsorted/memory_swap_test.dart
index 3cd46a4..af050c3 100644
--- a/tests/language_2/unsorted/memory_swap_test.dart
+++ b/tests/language_2/unsorted/memory_swap_test.dart
@@ -4,7 +4,7 @@
// @dart = 2.9
-// Test that the ParalleMoveResolver in the VM uses valid registers
+// Test that the ParallelMoveResolver in the VM uses valid registers
// when requiring scratch registers.
main() {