From e81ea8e2f3b36e95447fafd3a1321d8b9b880041 Mon Sep 17 00:00:00 2001 From: Andrew Heard Date: Fri, 13 Sep 2024 14:56:38 -0400 Subject: [PATCH] [Vertex AI] Silence `SafetyRating: Comparable` warning in tests (#13635) --- FirebaseVertexAI/Tests/Unit/GenerativeModelTests.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FirebaseVertexAI/Tests/Unit/GenerativeModelTests.swift b/FirebaseVertexAI/Tests/Unit/GenerativeModelTests.swift index f112168151a..b01d62b90f0 100644 --- a/FirebaseVertexAI/Tests/Unit/GenerativeModelTests.swift +++ b/FirebaseVertexAI/Tests/Unit/GenerativeModelTests.swift @@ -1375,7 +1375,7 @@ class AppCheckInteropFake: NSObject, AppCheckInterop { struct AppCheckErrorFake: Error {} @available(iOS 15.0, macOS 12.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *) -extension SafetyRating: Comparable { +extension SafetyRating: Swift.Comparable { public static func < (lhs: FirebaseVertexAI.SafetyRating, rhs: FirebaseVertexAI.SafetyRating) -> Bool { return lhs.category.rawValue < rhs.category.rawValue