Skip to content

Commit 09856b5

Browse files
authored
test(java): shorten inherited tag test name (#3985)
## Why? PR #3984 added an inherited duplicate-tag regression test whose method name exceeds the repository maximum of 35 characters. ## What does this PR do? - Renames the test method from `testDecodeRejectsInheritedDuplicateTag` to `testRejectsInheritedDuplicateTag`. - Leaves the annotation, test body, coverage, and production code unchanged. ## Related issues Follow-up to #3984. ## Does this PR introduce any user-facing change? - [ ] Does this PR introduce any public API change? - [ ] Does this PR introduce any binary protocol compatibility change? ## Test - `NativeTypeDefEncoderTest#testRejectsInheritedDuplicateTag` passed. ## Benchmark Test-only rename; no production or benchmark path changes.
1 parent 1e43394 commit 09856b5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

java/fory-core/src/test/java/org/apache/fory/meta/NativeTypeDefEncoderTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ public void testDecodeRejectsHashConsistentMalformedTypeDefBody() {
519519
}
520520

521521
@Test
522-
public void testDecodeRejectsInheritedDuplicateTag() {
522+
public void testRejectsInheritedDuplicateTag() {
523523
Fory fory =
524524
Fory.builder()
525525
.withXlang(false)

0 commit comments

Comments
 (0)