v2 / vlib / v / tests / project_issue_27078_run_test.v
9 lines · 7 sloc · 311 bytes · 1b91ac324e7254fe19b25ff731f631795434c56a
Raw
1import os
2
3const vexe = os.quoted_path(@VEXE)
4const issue_27078_project = os.join_path(os.dir(@FILE), 'project_issue_27078')
5
6fn test_fixed_array_with_int_cast_enum_const_in_separate_file_runs() {
7 res := os.execute('${vexe} run ${os.quoted_path(issue_27078_project)}')
8 assert res.exit_code == 0, res.output
9}
10