mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 12:24:24 +00:00
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:
parent
706663ac5e
commit
40a5f6f756
1 changed files with 4 additions and 0 deletions
|
@ -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 = [
|
||||
|
|
Loading…
Reference in a new issue