Skip to content

Commit c7ce77c

Browse files
committed
Changing unit tests checks accordingly
1 parent 5502d3a commit c7ce77c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

codegens/swift/test/unit/convert.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ describe('Swift Converter', function () {
6262
}
6363
expect(snippet).to.be.a('string');
6464
expect(snippet).to.contain('if param["contentType"] != nil {');
65-
expect(snippet).to.contain('body += "\\r\\nContent-Type: \\(param["contentType"] as! String)"');
65+
expect(snippet).to.contain('body += Data("\\r\\nContent-Type: \\(param["contentType"] as! String)".utf8)');
6666
});
6767
});
6868

0 commit comments

Comments
 (0)