Skip to content

Commit af9b5ff

Browse files
committed
Update test now that we also handle plus signs in the idiomatic strategy
1 parent 837e6ed commit af9b5ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/OpenAPIGeneratorCoreTests/Extensions/Test_SwiftSafeNames.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ final class Test_SwiftSafeNames: Test_Core {
114114

115115
// Content type components
116116
("application", "application", "Application", "application"),
117-
("vendor1+json", "vendor1_plus_json", "vendor1_plus_json", "vendor1_plus_json"),
117+
("vendor1+json", "vendor1_plus_json", "Vendor1Json", "vendor1Json"),
118118

119119
// Known real-world examples
120120
("+1", "_plus_1", "_plus_1", "_plus_1"), ("-1", "_hyphen_1", "_hyphen_1", "_hyphen_1"),

0 commit comments

Comments
 (0)