Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(252)

Unified Diff: tracing/tracing/base/iteration_helpers_test.html

Issue 2959713003: Remove tr.b.findFirstKeyInDictMatching. (Closed)
Patch Set: rebase Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tracing/tracing/base/iteration_helpers.html ('k') | tracing/tracing/base/multi_dimensional_view_test.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/base/iteration_helpers_test.html
diff --git a/tracing/tracing/base/iteration_helpers_test.html b/tracing/tracing/base/iteration_helpers_test.html
index 23295c6c017e7fb5f864e7991b4e7422373dd947..98853cf3d5c9e289429c20b7d376512c080f7100 100644
--- a/tracing/tracing/base/iteration_helpers_test.html
+++ b/tracing/tracing/base/iteration_helpers_test.html
@@ -240,20 +240,6 @@ tr.b.unittest.testSuite(function() {
});
});
- test('findFirstKeyInDictMatching', function() {
- const dict = {a: 1, b: 2, c: 3};
-
- let k = tr.b.findFirstKeyInDictMatching(dict, function(key, value) {
- return value === 2;
- }, this);
- assert.strictEqual(k, 'b');
-
- k = tr.b.findFirstKeyInDictMatching(dict, function(key, value) {
- return false;
- }, this);
- assert.strictEqual(k, undefined);
- });
-
test('mapValues', function() {
const map = new Map();
map.set('a', 1);
« no previous file with comments | « tracing/tracing/base/iteration_helpers.html ('k') | tracing/tracing/base/multi_dimensional_view_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698