-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Unit test some
world
vars against bad const folding, fix `world.sys…
…tem_type` (#2096) Co-authored-by: ike709 <[email protected]> Co-authored-by: wixoa <[email protected]>
- Loading branch information
1 parent
970b6a9
commit 9e1a9e6
Showing
4 changed files
with
10 additions
and
4 deletions.
There are no files selected for viewing
3 changes: 3 additions & 0 deletions
3
Content.Tests/DMProject/Tests/Builtins/world_opendream_topic_port.dm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
|
||
/proc/RunTest() | ||
ASSERT(isnum(world.opendream_topic_port)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
|
||
/proc/RunTest() | ||
ASSERT(istext(world.system_type) && length(world.system_type)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters