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

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

Issue 2955053002: Remove tr.b.identity. (Closed)
Patch Set: 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/math/range.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 5d90b20497245061c23d4766aedaa28268bc1428..0d157b0283fdc80c1a10341e7592a3e9a41fe536 100644
--- a/tracing/tracing/base/iteration_helpers_test.html
+++ b/tracing/tracing/base/iteration_helpers_test.html
@@ -254,22 +254,6 @@ tr.b.unittest.testSuite(function() {
});
});
- test('identity', function() {
- // Undefined value.
- assert.isUndefined(tr.b.identity(undefined));
-
- // Primitive value.
- assert.strictEqual(tr.b.identity(-273.15), -273.15);
-
- // List.
- const list = ['list', 'with', 1, undefined, 'value'];
- assert.strictEqual(tr.b.identity(list), list);
-
- // Object.
- const object = {'hasItems': true};
- assert.strictEqual(tr.b.identity(object), object);
- });
-
test('findFirstKeyInDictMatching', function() {
const dict = {a: 1, b: 2, c: 3};
« no previous file with comments | « tracing/tracing/base/iteration_helpers.html ('k') | tracing/tracing/base/math/range.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698