Skip to content

Commit 4e4bea3

Browse files
authored
add clarifying comment for test
1 parent f84f6e0 commit 4e4bea3

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

test/modules/job_fortress.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ function test.jobIDsAreSorted()
88
local is_sorted = true
99
local prev_id = nil
1010

11+
-- assumes there are at least some "naturally added" jobs currently in the list
12+
-- but this should always be true for CI test saves
1113
for _, job in utils.listpairs(df.global.world.jobs.list) do
1214
if prev_id and job.id < prev_id then
1315
is_sorted = false

0 commit comments

Comments
 (0)