Skip to content

Commit

Permalink
Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
nallave authored Dec 17, 2024
1 parent 504549b commit 72fdfa3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Sources/GoogleAI/ModelContent.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import Foundation
/// may comprise multiple heterogeneous ``ModelContent/Part``s.
@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, *)
public struct ModelContent: Equatable {
/// A discrete piece of data in a media format intepretable by an AI model. Within a single value
/// A discrete piece of data in a media format interpretable by an AI model. Within a single value
/// of ``Part``, different data types may not mix.
public enum Part: Equatable {
/// Text value.
Expand Down
6 changes: 3 additions & 3 deletions Tests/GoogleAITests/PartsRepresentableTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ final class PartsRepresentableTests: XCTestCase {
return
}
}
XCTFail("Expected model content from invlaid image to error")
XCTFail("Expected model content from invalid image to error")
}

#if canImport(UIKit)
Expand All @@ -93,7 +93,7 @@ final class PartsRepresentableTests: XCTestCase {
return
}
}
XCTFail("Expected model content from invlaid image to error")
XCTFail("Expected model content from invalid image to error")
}

func testModelContentFromUIImageIsNotEmpty() throws {
Expand Down Expand Up @@ -132,7 +132,7 @@ final class PartsRepresentableTests: XCTestCase {
return
}
}
XCTFail("Expected model content from invlaid image to error")
XCTFail("Expected model content from invalid image to error")
}
#endif
}

0 comments on commit 72fdfa3

Please sign in to comment.