[Swift] Migrate to use Swift Testing (#9076)

* Migrating from Xctests to swift testing

This migrates to the new Swift testing framework,
which would allow us to always use the latest tech
from swift moving forward.

* Updates flag to make sure that Wasm testing works
This commit is contained in:
mustiikhalil
2026-05-08 03:49:41 +02:00
committed by GitHub
parent e6bbb3d22e
commit 392165432a
21 changed files with 1054 additions and 883 deletions

View File

@@ -16,10 +16,12 @@
import Common
import FlexBuffers
import XCTest
import Foundation
import Testing
final class FlexBuffersStringTests: XCTestCase {
struct FlexBuffersStringTests {
@Test
func testEncodingUnicodeString() {
let text = "プ画をみて✋"
@@ -38,6 +40,6 @@ final class FlexBuffersStringTests: XCTestCase {
return String(data: data, encoding: .unicode)
}
XCTAssertEqual(builtString, text)
#expect(builtString == text)
}
}