Skip to content

Commit fb37945

Browse files
committed
Fix imports
1 parent 8945be6 commit fb37945

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

FirebaseVertexAI/Tests/Unit/GenerativeModelTests.swift

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import FirebaseAuthInterop
1717
import FirebaseCore
1818
import XCTest
1919

20-
@testable import FirebaseVertexAI
20+
@testable public import FirebaseVertexAI
2121

2222
@available(iOS 15.0, macOS 12.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *)
2323
final class GenerativeModelTests: XCTestCase {
@@ -1690,8 +1690,7 @@ struct AppCheckErrorFake: Error {}
16901690

16911691
@available(iOS 15.0, macOS 12.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *)
16921692
extension SafetyRating: Swift.Comparable {
1693-
public static func < (lhs: FirebaseVertexAI.SafetyRating,
1694-
rhs: FirebaseVertexAI.SafetyRating) -> Bool {
1693+
public static func < (lhs: SafetyRating, rhs: SafetyRating) -> Bool {
16951694
return lhs.category.rawValue < rhs.category.rawValue
16961695
}
16971696
}

FirebaseVertexAI/Tests/Unit/VertexComponentTests.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,10 @@
1313
// limitations under the License.
1414

1515
@preconcurrency import FirebaseCore
16+
internal import FirebaseCoreExtension
1617
import Foundation
1718
import XCTest
1819

19-
@_implementationOnly import FirebaseCoreExtension
20-
2120
@testable import FirebaseVertexAI
2221

2322
@available(iOS 15.0, macOS 12.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *)

0 commit comments

Comments
 (0)