mirror of
https://github.com/yeslayla/run-gut-tests-action.git
synced 2025-09-17 13:26:30 +02:00
Update error test
This commit is contained in:
@ -3,10 +3,11 @@ extends 'res://addons/gut/test.gd'
|
|||||||
var ObjToTest = load('res://obj_to_test.gd')
|
var ObjToTest = load('res://obj_to_test.gd')
|
||||||
|
|
||||||
func test_this_is_ok():
|
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
|
# We've decided it is ok for this method to return null here and that we do
|
||||||
# not care about the script error.
|
# 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():
|
func test_this_is_NOT_ok():
|
||||||
var a = 'a'
|
var a = 'a'
|
||||||
|
Reference in New Issue
Block a user