We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 630cc8f commit 08f7848Copy full SHA for 08f7848
tests/test_diff.sh
@@ -69,14 +69,9 @@ fi
69
echo "Running PHP script..."
70
php "$PHP_SCRIPT_PATH" > php_output.txt
71
72
-# Sort both outputs
73
-echo "Sorting outputs..."
74
-sort python_output.txt > python_sorted.txt
75
-sort php_output.txt > php_sorted.txt
76
-
77
# Compare the outputs
78
echo "Comparing outputs..."
79
-if diff -u python_sorted.txt php_sorted.txt > diff_output.txt; then
+if diff -u python_output.txt php_output.txt > diff_output.txt; then
80
echo "Test Passed: PHP and Python outputs match."
81
exit 0
82
else
0 commit comments