Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: test/filterStorage_readwrite.js

Issue 29406555: Noissue - Remove unused variable in unit test (Closed) Base URL: https://hg.adblockplus.org/adblockpluscore
Patch Set: Created April 8, 2017, 6:59 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/filterStorage_readwrite.js
===================================================================
--- a/test/filterStorage_readwrite.js
+++ b/test/filterStorage_readwrite.js
@@ -19,30 +19,29 @@
const {createSandbox, unexpectedError} = require("./_common");
let Filter = null;
let FilterNotifier = null;
let FilterStorage = null;
let IO = null;
let Prefs = null;
-let Subscription = null;
let ExternalSubscription = null;
let dataFile = null;
exports.setUp = function(callback)
{
let sandboxedRequire = createSandbox();
(
{Filter} = sandboxedRequire("../lib/filterClasses"),
{FilterNotifier} = sandboxedRequire("../lib/filterNotifier"),
{FilterStorage} = sandboxedRequire("../lib/filterStorage"),
{IO} = sandboxedRequire("./stub-modules/io"),
{Prefs} = sandboxedRequire("./stub-modules/prefs"),
- {Subscription, ExternalSubscription} = sandboxedRequire("../lib/subscriptionClasses")
+ {ExternalSubscription} = sandboxedRequire("../lib/subscriptionClasses")
);
Prefs.patternsfile = "patterns.ini";
dataFile = IO.resolveFilePath(Prefs.patternsfile);
FilterStorage.addFilter(Filter.fromText("foobar"));
callback();
};
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld