pass comment param to expect calls

develop
myk002 2021-08-14 16:43:40 -07:00
parent 00adb1b720
commit f47bab9806
No known key found for this signature in database
GPG Key ID: 8A39CA0FA0C16E78
1 changed files with 2 additions and 2 deletions

@ -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)