Skip to content

Commit fd7c4f7

Browse files
committed
Fix test
1 parent 3148d65 commit fd7c4f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/WebAPIKitTests/WebAPIKitTests.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ final class WebAPIKitTests: XCTestCase {
3131
let array: [UInt8] = [1, 2, 3, 4, 5]
3232
let typedArray = JSTypedArray(array)
3333

34-
let data = Data(typedArray.buffer)
34+
let data = Data(typedArray.arrayBuffer)
3535

3636
typedArray.withUnsafeBytes {
3737
XCTAssertEqual($0.count, data.count)

0 commit comments

Comments
 (0)