Skip to content

Commit 404278a

Browse files
SachinSachin
authored andcommitted
Fixed serialization test, updated podspec to 1.0.8
1 parent b454e07 commit 404278a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ScClient.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Pod::Spec.new do |s|
1616
#
1717

1818
s.name = "ScClient"
19-
s.version = "1.1.0"
19+
s.version = "1.0.8"
2020
s.summary = "A socketcluster client for iOS and OSX."
2121
s.swift_version = '3.2'
2222

Tests/ScClientTests/MiscellaneousTest.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class MiscellaneousTest: XCTestCase {
1111

1212
func testShouldSerializeData() {
1313
let emitEvent = Model.getEmitEventObject(eventName: "chat", data: "My Sample Data" as AnyObject, messageId: 2)
14-
let expectedData = "{\"cid\":2,\"event\":\"chat\",\"data\":\"My Sample Data\"}"
14+
let expectedData = "{\"data\":\"My Sample Data\",\"event\":\"chat\",\"cid\":2}"
1515
XCTAssertEqual(expectedData, emitEvent.toJSONString())
1616
}
1717

0 commit comments

Comments
 (0)