Skip to content

Commit

Permalink
[Vertex AI] Silence SafetyRating: Comparable warning in tests (#13635)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewheard authored Sep 13, 2024
1 parent 9e53732 commit e81ea8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FirebaseVertexAI/Tests/Unit/GenerativeModelTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e81ea8e

Please sign in to comment.