Skip to content

Commit 99ccb83

Browse files
kallentuCommit Queue
authored and
Commit Queue
committed
[analyzer] Fix a comment type in a constant test.
Fixing a typo from https://dart-review.googlesource.com/c/sdk/+/343460. Change-Id: I069210b26a60a8b7ad1b66131fc529093e742e16 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/343762 Reviewed-by: Samuel Rawlins <[email protected]> Reviewed-by: Phil Quitslund <[email protected]> Commit-Queue: Kallen Tu <[email protected]>
1 parent 1940b91 commit 99ccb83

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/analyzer/test/src/dart/constant/evaluation_test.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3569,7 +3569,7 @@ const c = double.nan == 2.3;
35693569
''', [
35703570
error(WarningCode.UNNECESSARY_NAN_COMPARISON_FALSE, 10, 13),
35713571
]);
3572-
// This test case produces an warning, but the value of the constant should
3572+
// This test case produces a warning, but the value of the constant should
35733573
// be `false`.
35743574
final result = _topLevelVar('c');
35753575
assertDartObjectText(result, r'''
@@ -3584,7 +3584,7 @@ const c = 2.3 == double.nan;
35843584
''', [
35853585
error(WarningCode.UNNECESSARY_NAN_COMPARISON_FALSE, 14, 13),
35863586
]);
3587-
// This test case produces an warning, but the value of the constant should
3587+
// This test case produces a warning, but the value of the constant should
35883588
// be `false`.
35893589
final result = _topLevelVar('c');
35903590
assertDartObjectText(result, r'''

0 commit comments

Comments
 (0)