Update error test

This commit is contained in:
Layla 2020-10-18 22:28:56 -04:00
parent 7c34ae7ccc
commit cebf0f8c19

View File

@ -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'