Commit bc428ec9 authored by Ludovic Courtès's avatar Ludovic Courtès

tests: Use 'data::equals' in 'tests/data-io'.

parent ff16d18a
......@@ -123,6 +123,7 @@ int main(int argc, char** argv)
}
CATCH_FILE_IO_ERROR(input_file);
return files_are_equal(temp_file1, temp_file2)
return (sample1.equals(sample2)
&& files_are_equal(temp_file1, temp_file2))
? EXIT_SUCCESS : EXIT_FAILURE;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment