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

Unified Diff: test/synchronizer.js

Issue 29941688: Issue 7086 - Fix typo / linting error (Closed) Base URL: https://hg.adblockplus.org/adblockpluscore/
Patch Set: Created Nov. 9, 2018, 10:51 p.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/synchronizer.js
===================================================================
--- a/test/synchronizer.js
+++ b/test/synchronizer.js
@@ -509,33 +509,33 @@
test.equal(subscription.lastCheck * MILLIS_IN_SECOND, startTime + (27 + initialDelay) * MILLIS_IN_HOUR, "lastCheck after download error");
test.equal(subscription.errors, 2, "errors after download error");
}).catch(unexpectedError.bind(test)).then(() => test.done());
};
exports.testSpecialCommentOrdering = function(test)
{
let subscription = Subscription.fromURL("http://example.com/subscription");
- FilterStorage.addSubscription(subscription);
+ filterStorage.addSubscription(subscription);
this.registerHandler("/subscription", metadata =>
{
return [Cr.NS_OK, 200, "[Adblock]\n! Special Comment: x\n!foo\n! Title: foobar\nfoo\nbar"];
});
this.runScheduledTasks(1).then(() =>
{
test.equal(subscription.title, "http://example.com/subscription", "make sure title was not found");
}).catch(unexpectedError.bind(test)).then(() => test.done());
};
exports.testUnknownSpecialComments = function(test)
{
let subscription = Subscription.fromURL("http://example.com/subscription");
- FilterStorage.addSubscription(subscription);
+ filterStorage.addSubscription(subscription);
this.registerHandler("/subscription", metadata =>
{
// To test allowing unknown special comments like `! :`, `!!@#$%^&*() : `, and `! Some Unknown Comment : `
return [Cr.NS_OK, 200, "[Adblock]\n! :\n! !@#$%^&*() :\n! Some Unknown Comment :\n! Title: foobar\nfoo\nbar"];
});
this.runScheduledTasks(1).then(() =>
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld