Tests: Add index of current test to script name for better errors

liquid_container
Nicolas Hake 2016-04-07 19:41:11 +02:00
parent 3c12dafd5f
commit f7c29c93e8
1 changed files with 2 additions and 0 deletions

View File

@ -54,6 +54,8 @@ C4Value AulTest::RunCode(const char *code, bool wrap)
src += test_info->test_case_name();
src += "::";
src += test_info->name();
src += "::";
src += std::to_string(test_info->result()->total_part_count());
src += ">";
GameScript.LoadData(src.c_str(), wrapped.c_str(), NULL);