From ab19737d6c0bf75c470a8c9248a6d26b63afca93 Mon Sep 17 00:00:00 2001 From: Wolfram Schneider Date: Wed, 15 Oct 2014 14:50:07 +0200 Subject: [PATCH] sorting: display title number in debug log --- test/spec/mkws-pazpar2.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/spec/mkws-pazpar2.js b/test/spec/mkws-pazpar2.js index fe0e345..274e45f 100644 --- a/test/spec/mkws-pazpar2.js +++ b/test/spec/mkws-pazpar2.js @@ -716,7 +716,7 @@ describe("Check SortBy options", function () { var title_list_new = title_list("yyy "); var diff_flag = 0; for (var i = 0; i < title_list_old.length; i++) { - debug(title_list_old[i] + " :: " + title_list_new[i]); + debug((i+1) + ". " + title_list_old[i] + " :: " + title_list_new[i]); if (title_list_old[i] != title_list_new[i]) { diff_flag++; -- 1.7.10.4