File tests/utils/parse_file_spec.c changed (mode: 100644) (index 0e24e245b..fe2c9f5ae) |
... |
... |
TEST(colon_in_name_with_linenum) |
181 |
181 |
TEST(win_absolute_path_without_linenum, IF(windows)) |
TEST(win_absolute_path_without_linenum, IF(windows)) |
182 |
182 |
{ |
{ |
183 |
183 |
int line_num; |
int line_num; |
184 |
|
char *const path = parse_file_spec("c:/home/user", &line_num); |
|
|
184 |
|
char *const path = parse_file_spec(TEST_DATA_PATH, &line_num); |
185 |
185 |
|
|
186 |
|
assert_string_equal("c:/home/user", path); |
|
|
186 |
|
assert_string_equal(TEST_DATA_PATH, path); |
187 |
187 |
assert_int_equal(DEFAULT_LINENUM, line_num); |
assert_int_equal(DEFAULT_LINENUM, line_num); |
188 |
188 |
|
|
189 |
189 |
free(path); |
free(path); |