diff --git a/swift/Tests/SwiftNoosphereTests/NoosphereTests.swift b/swift/Tests/SwiftNoosphereTests/NoosphereTests.swift index c9d001d58..f03e9f250 100644 --- a/swift/Tests/SwiftNoosphereTests/NoosphereTests.swift +++ b/swift/Tests/SwiftNoosphereTests/NoosphereTests.swift @@ -188,12 +188,13 @@ final class NoosphereTests: XCTestCase { var pointer = file_header_names.ptr!; // NOTE: "hello" is only given once even though there are two headers with that name - assert(name_count == 3) + assert(name_count == 4) let expected_headers = [ ["foo", "bar"], ["hello", "world"], - ["Content-Type", "text/subtext"] + ["Content-Type", "text/subtext"], + ["Content-Length", String(file_bytes.count)] ] for i in 0..