From f47bab9806d0a82ac67dace7f429e74ac24988a1 Mon Sep 17 00:00:00 2001 From: myk002 Date: Sat, 14 Aug 2021 16:43:40 -0700 Subject: [PATCH] pass comment param to expect calls --- test/plugins/orders.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/plugins/orders.lua b/test/plugins/orders.lua index bb84b9166..95fe186d2 100644 --- a/test/plugins/orders.lua +++ b/test/plugins/orders.lua @@ -62,9 +62,9 @@ end function check_import_success(file_content, comment, num_expected_orders) local prev_num_orders = #df.global.world.manager_orders local output, result = run_orders_import(file_content) - expect.eq(result, CR_OK) + expect.eq(result, CR_OK, comment) expect.eq(prev_num_orders + num_expected_orders, - #df.global.world.manager_orders) + #df.global.world.manager_orders, comment) end function check_import_fail(file_content, comment, prefix)