Skip to content

Commit

Permalink
Fix the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
migueldeicaza committed Oct 5, 2023
1 parent c416b4e commit ad8aa38
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 3 deletions.
24 changes: 24 additions & 0 deletions TestEditor/project.godot
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
; Engine configuration file.
; It's best edited using the editor UI and not directly,
; since the parameters that go here are not all obvious.
;
; Format:
; [section] ; section goes between []
; param=value ; assign values to parameters

config_version=5

[application]

config/name="Sample"
run/main_scene="res://node_2d.tscn"
config/features=PackedStringArray("4.2", "Forward Plus")
config/icon="res://icon.svg"

[editor_plugins]

enabled=PackedStringArray()

[rendering]

textures/vram_compression/import_etc2_astc=true
6 changes: 3 additions & 3 deletions Tests/SwiftGodotMacrosTests/MacroGodotTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ final class MacroGodotTests: XCTestCase {
}
required init() {
Hi._initClass ()
Hi._initClass
super.init ()
}
static func _initClass () {
static var _initClass: Void = {
let className = StringName("Hi")
let classInfo = ClassInfo<Hi> (name: className)
}
} ()
}
""",
macros: testMacros
Expand Down

0 comments on commit ad8aa38

Please sign in to comment.