migueldeicaza / SwiftGodot

New Godot bindings for Swift
https://migueldeicaza.github.io/SwiftGodotDocs/tutorials/swiftgodot-tutorials/
MIT License
1.06k stars 65 forks source link

Fix warnings in tests #426

Closed tishin closed 5 months ago

tishin commented 5 months ago

Mainly the actor isolation one: Main actor-isolated class 'GodotTestCase' has different actor isolation from nonisolated superclass 'XCTestCase'; this is an error in Swift 6 Main actor isolation is not necessary for GodotTestCase since those test cases run inside loadScene callback, which happens on main thread.

migueldeicaza commented 5 months ago

Thank you for this lovely patch