Skip to content
This repository was archived by the owner on Sep 20, 2023. It is now read-only.

Commit 17863c2

Browse files
authored
fix tests (#1755)
1 parent e9e41c1 commit 17863c2

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

FreetimeTests/IssueTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ class IssueTests: XCTestCase {
143143
)
144144
XCTAssertEqual(models.count, 3)
145145
XCTAssertEqual((models[0] as! StyledTextRenderer).string.allText, "this is some text")
146-
XCTAssertEqual((models[1] as! IssueCommentCodeBlockModel).code.attributedText.string, "let a = 5")
146+
XCTAssertEqual((models[1] as! IssueCommentCodeBlockModel).code.string.allText, "let a = 5")
147147
XCTAssertEqual((models[1] as! IssueCommentCodeBlockModel).language, "swift")
148148
XCTAssertEqual((models[2] as! StyledTextRenderer).string.allText, "this is the end")
149149
}
@@ -166,7 +166,7 @@ class IssueTests: XCTestCase {
166166
)
167167
XCTAssertEqual(models.count, 3)
168168
XCTAssertEqual((models[0] as! StyledTextRenderer).string.allText, "this is some text")
169-
XCTAssertEqual((models[1] as! IssueCommentCodeBlockModel).code.attributedText.string, "let a = 5")
169+
XCTAssertEqual((models[1] as! IssueCommentCodeBlockModel).code.string.allText, "let a = 5")
170170
XCTAssertNil((models[1] as! IssueCommentCodeBlockModel).language)
171171
XCTAssertEqual((models[2] as! StyledTextRenderer).string.allText, "this is the end")
172172
}

Podfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ CHECKOUT OPTIONS:
155155
:commit: 4fb166245f72e5d47b6c0f3e67351e9a9802ec63
156156
:git: https://github.com/GitHawkApp/MessageViewController.git
157157
StyledText:
158-
:commit: 8116b8168a61c8ee608e52f05f0107defc98fb46
158+
:commit: 10f7905686dc259953602368586ff707a2a43cf7
159159
:git: https://github.com/GitHawkApp/StyledText.git
160160

161161
SPEC CHECKSUMS:

Pods/Manifest.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)