From af9b5ffcc21c440f7811d2ab730dc7bb8f514554 Mon Sep 17 00:00:00 2001 From: Honza Dvorsky Date: Tue, 17 Dec 2024 09:17:14 +0100 Subject: [PATCH] Update test now that we also handle plus signs in the idiomatic strategy --- .../Extensions/Test_SwiftSafeNames.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/OpenAPIGeneratorCoreTests/Extensions/Test_SwiftSafeNames.swift b/Tests/OpenAPIGeneratorCoreTests/Extensions/Test_SwiftSafeNames.swift index 7e75d55c..b1b7fe1b 100644 --- a/Tests/OpenAPIGeneratorCoreTests/Extensions/Test_SwiftSafeNames.swift +++ b/Tests/OpenAPIGeneratorCoreTests/Extensions/Test_SwiftSafeNames.swift @@ -114,7 +114,7 @@ final class Test_SwiftSafeNames: Test_Core { // Content type components ("application", "application", "Application", "application"), - ("vendor1+json", "vendor1_plus_json", "vendor1_plus_json", "vendor1_plus_json"), + ("vendor1+json", "vendor1_plus_json", "Vendor1Json", "vendor1Json"), // Known real-world examples ("+1", "_plus_1", "_plus_1", "_plus_1"), ("-1", "_hyphen_1", "_hyphen_1", "_hyphen_1"),