Bug 1207497 - Part 3: Fix wrong replacement in debug print in toolkit/mozapps/downloads/tests/unit/test_lowMinutes.js. r=me DONTBUILD

This commit is contained in:
Tooru Fujisawa 2015-09-25 18:06:19 +09:00
parent b926c0565e
commit 06f8381eb6

View File

@ -18,7 +18,9 @@ Components.utils.import("resource://gre/modules/DownloadUtils.jsm");
* @usage _("Hello World") -> prints "Hello World"
* @usage _(1, 2, 3) -> prints "1 2 3"
*/
var _ = (some, debug, text, to) => print(Array.slice(arguments).join(" "));
var _ = function(some, debug, text, to) {
print(Array.slice(arguments).join(" "));
};
_("Make an array of time lefts and expected string to be shown for that time");
var expectedTimes = [