Skip to content

Commit c68c069

Browse files
pqcommit-bot@chromium.org
authored andcommitted
prefer “exclude” language for excluded entities
See for example: * https://9to5google.com/2020/06/12/google-android-chrome-blacklist-blocklist-more-inclusive/ * https://thenextweb.com/dd/2020/06/15/github-plans-to-replace-racially-insensitive-terms-like-master-and-whitelist/ Change-Id: Id40e8b20f8dcab6db291159c33db5197aedf9fae Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/151304 Reviewed-by: Ben Konyi <[email protected]> Commit-Queue: Phil Quitslund <[email protected]>
1 parent 09ea885 commit c68c069

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

runtime/tests/vm/dart/random_walk_fuzzer.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import 'dart:math';
1818
import 'dart:mirrors';
1919
import 'dart:typed_data';
2020

21-
var blacklist = [
21+
var excludeList = [
2222
'dart.io.exit',
2323
'dart.io.exitCode',
2424
'dart.io.sleep',
@@ -270,7 +270,7 @@ void fuzz(Candidate c) {
270270
ObjectMirror receiver = c.mirror;
271271
MethodMirror method = randomMethodOf(receiver);
272272
if (method == null) return;
273-
if (blacklist.contains(MirrorSystem.getName(method.qualifiedName))) return;
273+
if (excludeList.contains(MirrorSystem.getName(method.qualifiedName))) return;
274274

275275
List positional = randomPositionalArgumentsFor(method);
276276
Map named = randomNamedArgumentsFor(method);

runtime/tests/vm/dart_2/random_walk_fuzzer.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import 'dart:math';
1818
import 'dart:mirrors';
1919
import 'dart:typed_data';
2020

21-
var blacklist = [
21+
var excludeList = [
2222
'dart.io.exit',
2323
'dart.io.exitCode',
2424
'dart.io.sleep',
@@ -270,7 +270,7 @@ void fuzz(Candidate c) {
270270
ObjectMirror receiver = c.mirror;
271271
MethodMirror method = randomMethodOf(receiver);
272272
if (method == null) return;
273-
if (blacklist.contains(MirrorSystem.getName(method.qualifiedName))) return;
273+
if (excludeList.contains(MirrorSystem.getName(method.qualifiedName))) return;
274274

275275
List positional = randomPositionalArgumentsFor(method);
276276
Map named = randomNamedArgumentsFor(method);

0 commit comments

Comments
 (0)