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 1870fab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion swift/Tests/SwiftNoosphereTests/NoosphereTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -188,11 +188,12 @@ 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-Length", String(file_bytes.count)],
["Content-Type", "text/subtext"]
]

Expand Down

0 comments on commit 1870fab

Please sign in to comment.