[Swift] Support create long string (#5709)

* [Swift] Support create long string

* [Swift] Move the test case to correct dir
This commit is contained in:
vkill
2020-01-17 04:08:59 +08:00
committed by Wouter van Oortmerssen
parent a4b2884e4e
commit c4b2b0a25d
2 changed files with 9 additions and 7 deletions

View File

@@ -22,6 +22,8 @@ final class FlatBuffersTests: XCTestCase {
b.clear()
XCTAssertEqual(b.create(string: helloWorld).o, 20)
XCTAssertEqual(b.create(string: country).o, 32)
b.clear()
XCTAssertEqual(b.create(string: String(repeating: "a", count: 257)).o, 264)
}
func testStartTable() {