[ObjC] fix the pddm source check.
PiperOrigin-RevId: 781117217
diff --git a/objectivec/DevTools/sources_pddm_expansion_test.sh b/objectivec/DevTools/sources_pddm_expansion_test.sh
index 99e01a1..447bd3d 100755
--- a/objectivec/DevTools/sources_pddm_expansion_test.sh
+++ b/objectivec/DevTools/sources_pddm_expansion_test.sh
@@ -1,9 +1,14 @@
#!/bin/bash
-${TEST_SRCDIR}/google3/third_party/protobuf/objectivec/pddm \
+die() {
+ echo "Error: $1"
+ exit 1
+}
+
+objectivec/DevTools/pddm.py \
--dry-run \
- ${TEST_SRCDIR}/google3/third_party/protobuf/objectivec/*.[hm] \
- ${TEST_SRCDIR}/google3/third_party/protobuf/objectivec/Tests/*.[hm] \
+ objectivec/*.[hm] \
+ objectivec/Tests/*.[hm] \
|| die "Update by running: objectivec/DevTools/pddm.py objectivec/*.[hm] objectivec/Tests/*.[hm]"
echo "PASS"
diff --git a/objectivec/GPBCodedOutputStream.m b/objectivec/GPBCodedOutputStream.m
index 67c69a4..85ee8b3 100644
--- a/objectivec/GPBCodedOutputStream.m
+++ b/objectivec/GPBCodedOutputStream.m
@@ -829,7 +829,7 @@
}
}
-//%PDDM-EXPAND-END (19 expansions)
+//%PDDM-EXPAND-END (18 expansions)
// clang-format on