mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Unit test fix
This commit is contained in:
@@ -9,7 +9,7 @@
|
|||||||
if(!initial(G.display_name))
|
if(!initial(G.display_name))
|
||||||
log_unit_test("[G]: Loadout - Missing display name.")
|
log_unit_test("[G]: Loadout - Missing display name.")
|
||||||
failed = 1
|
failed = 1
|
||||||
else if(!initial(G.cost))
|
else if(isnull(initial(G.cost)))
|
||||||
log_unit_test("[G]: Loadout - Missing cost.")
|
log_unit_test("[G]: Loadout - Missing cost.")
|
||||||
failed = 1
|
failed = 1
|
||||||
else if(!initial(G.path))
|
else if(!initial(G.path))
|
||||||
|
|||||||
Reference in New Issue
Block a user