Skip to content

Commit

Permalink
Fix compilation under Linux.
Browse files Browse the repository at this point in the history
  • Loading branch information
MrMage committed Jun 18, 2018
1 parent b34303c commit 3130eea
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Tests/SwiftGRPCTests/MetadataTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,13 @@ import Foundation
import XCTest

class MetadataTests: XCTestCase {
func testMetadata() {
static var allTests: [(String, (MetadataTests) -> () throws -> Void)] {
return [
("testCopy", testCopy)
]
}

func testCopy() {
let metadata = try! Metadata(["foo": "bar"])
XCTAssertEqual(["foo": "bar"], metadata.copy().dictionaryRepresentation)
}
Expand Down

0 comments on commit 3130eea

Please sign in to comment.