Skip to content

Commit

Permalink
#2119. Update assertion texts in Wildcards tests (#2981)
Browse files Browse the repository at this point in the history
  • Loading branch information
sgrekhov authored Nov 21, 2024
1 parent abb9d2b commit 629d746
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 11 deletions.
5 changes: 3 additions & 2 deletions LanguageFeatures/Wildcards/super_parameters_A03_t01.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
// 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.

/// @assertion Similarly to `this._` a `super._` does not introduce any
/// identifier into the scope of the initializer list.
/// @assertion Similarly to `this._`, and unlike for example `super.x`, a
/// `super._` does not introduce any identifier into the scope of the
/// initializer list.
///
/// @description Checks that a `super._` does not introduce any identifier into
/// the scope of the initializer list.
Expand Down
5 changes: 3 additions & 2 deletions LanguageFeatures/Wildcards/super_parameters_A03_t02.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
// 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.

/// @assertion Similarly to `this._` a `super._` does not introduce any
/// identifier into the scope of the initializer list.
/// @assertion Similarly to `this._`, and unlike for example `super.x`, a
/// `super._` does not introduce any identifier into the scope of the
/// initializer list.
///
/// @description Checks that a `super._` does not introduce any identifier into
/// the scope of the initializer list.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
/// }
/// }
/// ```
// This program is valid and assigns to the field, not the local.
/// This program is valid and assigns to the field, not the local.
///
/// @description Checks that a local variable named `_` doesn't shadow a
/// top-level variable named `_` but a class field does.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
/// }
/// }
/// ```
// This program is valid and assigns to the field, not the local.
/// This program is valid and assigns to the field, not the local.
///
/// @description Checks that a local variable named `_` doesn't shadow a
/// top-level getter named `_` but a class field does.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
/// }
/// }
/// ```
// This program is valid and assigns to the field, not the local.
/// This program is valid and assigns to the field, not the local.
///
/// @description Checks that a local variable named `_` doesn't shadow a
/// top-level function named `_` but a class field does.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
/// }
/// }
/// ```
// This program is valid and assigns to the field, not the local.
/// This program is valid and assigns to the field, not the local.
///
/// @description Checks that a local variable named `_` doesn't shadow a
/// top-level setter named `_` but a class field does.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
/// }
/// }
/// ```
// This program is valid and assigns to the field, not the local.
/// This program is valid and assigns to the field, not the local.
///
/// @description Checks that a top-level variable named `_` can be assigned to
/// a local variable named `_`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
/// }
/// }
/// ```
// This program is valid and assigns to the field, not the local.
/// This program is valid and assigns to the field, not the local.
///
/// @description Checks that a top-level function named `_` can be assigned to
/// a local variable named `_`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
/// }
/// }
/// ```
// This program is valid and assigns to the field, not the local.
/// This program is valid and assigns to the field, not the local.
///
/// @description Checks that a type named `_` can be assigned to a local
/// variable named `_`.
Expand Down

0 comments on commit 629d746

Please sign in to comment.