Skip to content

Commit

Permalink
catch all the messages in the test in the group
Browse files Browse the repository at this point in the history
  • Loading branch information
FalloutFalcon committed Oct 7, 2024
1 parent 4ced5cc commit f861b2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/unit_tests/unit_test.dm
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ GLOBAL_VAR(test_log)
GLOB.current_test = test
var/duration = REALTIMEOFDAY

log_world("::group::[test_path]")
test.Run()

duration = REALTIMEOFDAY - duration
Expand All @@ -111,7 +112,6 @@ GLOBAL_VAR(test_log)
var/test_output_desc = "[test_path]"
var/message = ""

log_world("::group::[test_path]")
for(var/reasonID in 1 to LAZYLEN(fail_reasons))
var/text = fail_reasons[reasonID][1]
var/file = fail_reasons[reasonID][2]
Expand Down

0 comments on commit f861b2e

Please sign in to comment.