Add comment for NodeTextExpectationsCollector.updatingIsEnabled

Change-Id: I199516779c4e8662ebb2850664877dee56a6e680
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/335320
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Phil Quitslund <pquitslund@google.com>
This commit is contained in:
Konstantin Shcheglov 2023-11-10 00:19:06 +00:00 committed by Commit Queue
parent 706663ac5e
commit 40a5f6f756

View file

@ -14,6 +14,10 @@ import 'package:test/test.dart';
import 'package:test_reflective_loader/test_reflective_loader.dart';
class NodeTextExpectationsCollector {
/// If this flag is `true`, we accumulate updates to expectations.
/// This should only happen locally, to update tests or implementation.
///
/// This flag should be `false` during code review.
static const updatingIsEnabled = false;
static const assertMethods = [