File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -9,11 +9,11 @@ func test_missing_init():
9
9
10
10
var expr = Expression .new ()
11
11
var error = expr .parse ("WithoutInit.new()" )
12
- if ! assert_eq (error , OK , "Failed to parse dynamic expression" ):
12
+ if not assert_eq (error , OK , "Failed to parse dynamic expression" ):
13
13
return
14
14
15
15
var instance = expr .execute ()
16
- if ! assert_that (! expr .has_execute_failed (), "Failed to evaluate dynamic expression" ):
16
+ if not assert_that (! expr .has_execute_failed (), "Failed to evaluate dynamic expression" ):
17
17
return
18
18
19
19
print ("[GD] WithoutInit is: " , instance )
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ class GDScriptExecutableTestCase extends GDScriptTestCase:
92
92
# This is a no-op if the suite doesn't have this property.
93
93
suite .set ("_assertion_failed" , false )
94
94
var result = suite .call (method_name )
95
- var ok : bool = (result == true || result == null ) && ! suite .get ("_assertion_failed" )
95
+ var ok : bool = (result == true or result == null ) and not suite .get ("_assertion_failed" )
96
96
return ok
97
97
98
98
# Hardcoded test case used for special cases where the standard testing API is not sufficient.
You can’t perform that action at this time.
0 commit comments