Merge remote-tracking branch 'citadel/master' into lettern-git-updates
This commit is contained in:
@@ -10,5 +10,9 @@
|
||||
Fail("Flavor text is failing to save.")
|
||||
if(P.features["ooc_notes"] != "Bar")
|
||||
Fail("OOC text is failing to save.")
|
||||
P.save_character()
|
||||
P.load_character()
|
||||
if(P.features["flavor_text"] != "Foo")
|
||||
Fail("Repeated saving and loading possibly causing save deletion.")
|
||||
catch(var/exception/e)
|
||||
Fail("Failed to save and load character due to exception [e.file]:[e.line], [e.name]")
|
||||
|
||||
6
code/modules/unit_tests/reactions.dm
Normal file
6
code/modules/unit_tests/reactions.dm
Normal file
@@ -0,0 +1,6 @@
|
||||
/datum/unit_test/reactions/Run()
|
||||
for(var/datum/gas_reaction/G in SSair.gas_reactions)
|
||||
var/test_info = G.test()
|
||||
if(!test_info["success"])
|
||||
var/message = test_info["message"]
|
||||
Fail("Gas reaction [G.name] is failing its unit test with the following message: [message]")
|
||||
Reference in New Issue
Block a user