Skip to content
This repository has been archived by the owner on Sep 21, 2024. It is now read-only.

Commit

Permalink
fix: Fix Swift header test
Browse files Browse the repository at this point in the history
  • Loading branch information
cdata committed Jan 17, 2024
1 parent 0e4fdb0 commit 6109d91
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions swift/Tests/SwiftNoosphereTests/NoosphereTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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..<name_count {
Expand Down

0 comments on commit 6109d91

Please sign in to comment.