Skip to content

Commit

Permalink
[ml-model-downloader] Update unit test deprecated API
Browse files Browse the repository at this point in the history
  • Loading branch information
paulb777 committed Jul 15, 2024
1 parent b6473f9 commit 0f93d9f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@

guard let binaryData = try? modelOptions.serializedData(),
let jsonData = try? modelOptions.jsonUTF8Data(),
let binaryEvent = try? ModelOptions(serializedData: binaryData),
let binaryEvent = try? ModelOptions(serializedBytes: binaryData),
let jsonEvent = try? ModelOptions(jsonUTF8Data: jsonData) else {
XCTFail("Encoding error.")
return
Expand Down

0 comments on commit 0f93d9f

Please sign in to comment.