Skip to content

Commit e0a6c0c

Browse files
committed
Update for utf8CString
1 parent f5e3e0f commit e0a6c0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

TestFoundation/TestNSKeyedArchiver.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ class TestNSKeyedArchiver : XCTestCase {
216216
}
217217

218218
func test_archive_charptr() {
219-
let charArray = [CChar]("Hello world, we are testing!\0".nulTerminatedUTF8CString)
219+
let charArray = [CChar]("Hello world, we are testing!\0".utf8CString)
220220
var charPtr = UnsafeMutablePointer(mutating: charArray)
221221

222222
test_archive({ archiver -> Bool in

0 commit comments

Comments
 (0)