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

Unified Diff: Tools/GardeningServer/scripts/svn-log_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/svn-log.js ('k') | Tools/GardeningServer/scripts/ui.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Tools/GardeningServer/scripts/svn-log_unittests.js
diff --git a/Tools/GardeningServer/scripts/svn-log_unittests.js b/Tools/GardeningServer/scripts/svn-log_unittests.js
index 0710dc78624a1686e2adb67ab5f29dbf1b1024f9..486a09faf1403aa9a75fd1c0f85ff3e7bbec1d95 100644
--- a/Tools/GardeningServer/scripts/svn-log_unittests.js
+++ b/Tools/GardeningServer/scripts/svn-log_unittests.js
@@ -186,7 +186,7 @@ asyncTest("recentCommitData", 3, function() {
};
simulator.runTest(function() {
- trac.recentCommitData('trunk', 10, function(commitDataList) {
+ return trac.recentCommitData('trunk', 10).then(function(commitDataList) {
$.each(commitDataList, function(index, commitData) {
// Including the entire message makes the deepEqual below to unwieldy.
delete commitData.message;
« no previous file with comments | « Tools/GardeningServer/scripts/svn-log.js ('k') | Tools/GardeningServer/scripts/ui.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698