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

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

Issue 173133003: Convert garden-o-matic guts over to promises where appropriate (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: update to ToT Created 6 years, 10 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/rollbot.js ('k') | Tools/GardeningServer/scripts/svn-log.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Tools/GardeningServer/scripts/rollbot_unittests.js
diff --git a/Tools/GardeningServer/scripts/rollbot_unittests.js b/Tools/GardeningServer/scripts/rollbot_unittests.js
index a14993760155fd19f6447034cd28f439c7c8e3eb..34f8a418353ef0ed499ceb176b13de8d7eb44a55 100644
--- a/Tools/GardeningServer/scripts/rollbot_unittests.js
+++ b/Tools/GardeningServer/scripts/rollbot_unittests.js
@@ -162,7 +162,7 @@ asyncTest("fetchCurrentRoll", 6, function() {
};
simulator.runTest(function() {
- rollbot.fetchCurrentRoll(function(roll) {
+ rollbot.fetchCurrentRoll().then(function(roll) {
equals(roll.issue, 16337011);
equals(roll.url, "https://codereview.chromium.org/16337011");
equals(roll.isStopped, false);
« no previous file with comments | « Tools/GardeningServer/scripts/rollbot.js ('k') | Tools/GardeningServer/scripts/svn-log.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698