quicktest
quicktest copied to clipboard
Fix: Use correct output and expected files for test comparison
The file comparison logic within the test library had a bug where
both file_out and file_expected were incorrectly assigned the
path to the input file (QTEST_INPUT_FILE). This resulted in tests
always comparing the input file with itself, rendering the comparison
meaningless.
This commit corrects the assignments:
-
file_outnow points to the actual generated output file. -
file_expectednow points to the predefined expected file.
This ensures that the test library accurately verifies the generated output against the expected results.