Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion addons/gdUnit3/plugin.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
name="gdUnit3"
description="Unit Testing Framework for Godot Scripts"
author="Mike Schulze"
version="2.2.5"
version="2.2.6"
script="plugin.gd"
2 changes: 1 addition & 1 deletion addons/gdUnit3/src/core/GdUnitRunnerConfig.gd
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ func load(path :String = CONFIG_FILE) -> Result:
if err != OK:
return Result.error("Can't load test runner configuration '%s'! ERROR: %s." % [path, GdUnitTools.error_as_string(err)])
var content := file.get_as_text()
if content[0] == '{':
if not content.empty() and content[0] == '{':
# Parse as json
var result := JSON.parse(content)
if result.error != OK:
Expand Down