Skip to content

Commit b6dcd12

Browse files
committed
formatting fixes
1 parent d9fe9aa commit b6dcd12

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Tests/ElementaryTests/AsyncRenderingTests.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,21 +70,21 @@ final class AsyncRenderingTests: XCTestCase {
7070
"<p>late response foo</p><p>late response bar</p>"
7171
)
7272
}
73-
73+
7474
func testBufferFlushesWhenChunkSizeExceeded() async throws {
7575
let writer = TestBufferWriter()
7676
try await div { "This is some content" }
7777
.render(into: writer, chunkSize: 1)
78-
78+
7979
XCTAssertEqual("<div>This is some content</div>", String(decoding: writer.result, as: UTF8.self), file: #filePath, line: #line)
8080
XCTAssertGreaterThan(writer.writeCount, 1)
8181
}
82-
82+
8383
func testBufferFlushesExactlyOnceOnSmallInput() async throws {
8484
let writer = TestBufferWriter()
8585
try await div { "This is some content" }
8686
.render(into: writer, chunkSize: 1024)
87-
87+
8888
XCTAssertEqual("<div>This is some content</div>", String(decoding: writer.result, as: UTF8.self), file: #filePath, line: #line)
8989
XCTAssertEqual(writer.writeCount, 1)
9090
}

0 commit comments

Comments
 (0)