test-lib: parse options in a for loop to keep $@ intact
[gitweb.git] / t / t5318-commit-graph.sh
index db8dcafca3c764f17ca323be91af65d991ccb73a..5fe21db99f43aa79dc36ab36bf6d40ca2f47264d 100755 (executable)
@@ -36,7 +36,7 @@ test_expect_success 'create commits and repack' '
 graph_git_two_modes() {
        git -c core.commitGraph=true $1 >output
        git -c core.commitGraph=false $1 >expect
-       test_cmp output expect
+       test_cmp expect output
 }
 
 graph_git_behavior() {