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

Unified Diff: Tools/GardeningServer/scripts/base_unittests.js

Issue 362453003: Remove dead code. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | « Tools/GardeningServer/scripts/base.js ('k') | Tools/GardeningServer/scripts/builders.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Tools/GardeningServer/scripts/base_unittests.js
diff --git a/Tools/GardeningServer/scripts/base_unittests.js b/Tools/GardeningServer/scripts/base_unittests.js
index a416c8d82d0b2ed45d048ad1c5e05fa2ab86d2b6..9869e989692d984f851f5ec5874a558f593d5a29 100644
--- a/Tools/GardeningServer/scripts/base_unittests.js
+++ b/Tools/GardeningServer/scripts/base_unittests.js
@@ -95,24 +95,6 @@ test("filterDictionary", 3, function() {
});
});
-test("mapDictionary", 3, function() {
- deepEqual(base.mapDictionary({}, function(value) { return value - 10; }), {});
- var dictionary = {
- 'foo': 43,
- 'bar': 11
- };
- deepEqual(base.mapDictionary(dictionary, function(value) { return value - 10; }), {
- "foo": 33,
- "bar": 1
- });
- deepEqual(base.mapDictionary(dictionary, function(value) {
- if (value > 20)
- return value - 20;
- }), {
- "foo": 23,
- });
-});
-
test("filterTree", 2, function() {
var tree = {
'path': {
« no previous file with comments | « Tools/GardeningServer/scripts/base.js ('k') | Tools/GardeningServer/scripts/builders.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698