mirror of
https://github.com/yeslayla/run-gut-tests-action.git
synced 2025-01-13 12:33:41 +01:00
Update error test
This commit is contained in:
parent
7c34ae7ccc
commit
cebf0f8c19
@ -3,10 +3,11 @@ extends 'res://addons/gut/test.gd'
|
||||
var ObjToTest = load('res://obj_to_test.gd')
|
||||
|
||||
func test_this_is_ok():
|
||||
var o = ObjToTest.new()
|
||||
#var o = ObjToTest.new()
|
||||
# We've decided it is ok for this method to return null here and that we do
|
||||
# not care about the script error.
|
||||
assert_null(o.is_param_the_number_1('a'))
|
||||
#assert_null(o.is_param_the_number_1('a'))
|
||||
assert_null(null)
|
||||
|
||||
func test_this_is_NOT_ok():
|
||||
var a = 'a'
|
||||
|
Loading…
Reference in New Issue
Block a user