зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1207497 - Part 3: Fix wrong replacement in debug print in toolkit/mozapps/downloads/tests/unit/test_lowMinutes.js. r=me DONTBUILD
--HG-- extra : commitid : J6B41yG7V8K extra : amend_source : 0df1b2c622ba3f8d1d0fea3e8c35b638dc0e34f4
This commit is contained in:
Родитель
8a0aa17cb2
Коммит
edda26d5b4
|
@ -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 = [
|
||||
|
|
Загрузка…
Ссылка в новой задаче