Skip to content

Commit f944413

Browse files
authored
Flip the order of the diff in test-plugin (#2059)
When this failed on CI the other day it looked a little odd as the "-" lines were the ones that were the new state. So flip the order so the "+" lines are how it should be generated vs. what is currently checked in to the Reference directory. i.e. - the output becomes "the patch to apply to reference" instead of the output being what would get applied to the "generator".
1 parent e45184e commit f944413

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ test-plugin: build ${PROTOC_GEN_SWIFT} ${PROTOC}
238238
--tfiws_opt=EnumGeneration=NonExhaustive \
239239
--tfiws_out=_test/Tests/protoc-gen-swiftTests/NonExhaustive \
240240
Protos/Tests/protoc-gen-swiftTests/enum_generation_test.proto
241-
diff -ru _test Reference
241+
diff -ru Reference _test
242242

243243
# Test the SPM plugin.
244244
test-spm-plugin:

0 commit comments

Comments
 (0)