Perfect-MySQL icon indicating copy to clipboard operation
Perfect-MySQL copied to clipboard

Failing tests for varchars

Open piyushchauhan2011 opened this issue 9 years ago • 0 comments

I came across this library and thought of contributing to it. Cloned the repo on the system and started with tests. When I ran swift test after swift build, encountered two failing tests.

/testcodes/Perfect-MySQL/Tests/MySQL/MySQLTests.swift:330: error: -[MySQLTestSuite.MySQLTests testQueryStmt2] : XCTAssertTrue failed - 1366 Incorrect string value: '\xF0\x9F\x91\xBB' for column 'varchar' at row 1 - 1366 Incorrect string value: '\xF0\x9F\x91\xBB' for column 'varchar' at row 1
/testcodes/Perfect-MySQL/Tests/MySQL/MySQLTests.swift:330: error: -[MySQLTestSuite.MySQLTests testQueryStmt2] : XCTAssertTrue failed - 1366 Incorrect string value: '\xF0\x9F\x91\xBB' for column 'varchar' at row 1 - 1366 Incorrect string value: '\xF0\x9F\x91\xBB' for column 'varchar' at row 1

Swift version:

Apple Swift version 3.0 (swiftlang-800.0.33.1 clang-800.0.31)
Target: x86_64-apple-macosx10.9

Might be helpful @kjessup

piyushchauhan2011 avatar Jul 16 '16 10:07 piyushchauhan2011