Skip to content

Commit

Permalink
Fix linting error
Browse files Browse the repository at this point in the history
  • Loading branch information
adamayoung committed Sep 15, 2024
1 parent 9eaf629 commit a1ca5d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/TMDbTests/Extensions/JSONEncoder+TMDbTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ final class JSONEncoderTMDbTests: XCTestCase {
let expectedDataOfBirthResult = "\"date_of_birth\":\"1990-01-02\""

let data = try jsonEncoder.encode(value)
let dataAsString = try XCTUnwrap(String(decoding: data, as: UTF8.self))
let dataAsString = try XCTUnwrap(String(data: data, encoding: .utf8))

XCTAssertTrue(dataAsString.contains(expectedIDResult))
XCTAssertTrue(dataAsString.contains(expectedFirstNameResult))
Expand Down

0 comments on commit a1ca5d9

Please sign in to comment.