Skip to content

Commit 72fdfa3

Browse files
authored
Commit
1 parent 504549b commit 72fdfa3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Sources/GoogleAI/ModelContent.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import Foundation
1919
/// may comprise multiple heterogeneous ``ModelContent/Part``s.
2020
@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, *)
2121
public struct ModelContent: Equatable {
22-
/// A discrete piece of data in a media format intepretable by an AI model. Within a single value
22+
/// A discrete piece of data in a media format interpretable by an AI model. Within a single value
2323
/// of ``Part``, different data types may not mix.
2424
public enum Part: Equatable {
2525
/// Text value.

Tests/GoogleAITests/PartsRepresentableTests.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ final class PartsRepresentableTests: XCTestCase {
7070
return
7171
}
7272
}
73-
XCTFail("Expected model content from invlaid image to error")
73+
XCTFail("Expected model content from invalid image to error")
7474
}
7575

7676
#if canImport(UIKit)
@@ -93,7 +93,7 @@ final class PartsRepresentableTests: XCTestCase {
9393
return
9494
}
9595
}
96-
XCTFail("Expected model content from invlaid image to error")
96+
XCTFail("Expected model content from invalid image to error")
9797
}
9898

9999
func testModelContentFromUIImageIsNotEmpty() throws {
@@ -132,7 +132,7 @@ final class PartsRepresentableTests: XCTestCase {
132132
return
133133
}
134134
}
135-
XCTFail("Expected model content from invlaid image to error")
135+
XCTFail("Expected model content from invalid image to error")
136136
}
137137
#endif
138138
}

0 commit comments

Comments
 (0)