Skip to content

Commit

Permalink
Update Content.Tests/DMProject/Tests/Regex/regex_find_replace.dm
Browse files Browse the repository at this point in the history
Co-authored-by: wixoa <[email protected]>
  • Loading branch information
amylizzle and wixoaGit authored Dec 18, 2024
1 parent 6227cce commit c8bc202
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Content.Tests/DMProject/Tests/Regex/regex_find_replace.dm
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,6 @@ var/result_match = "/obj/cable/brown{\n\ticon_state = \"1\"\n\t},\n/obj/cable/br
models = noStrings.Replace(models, indexText, found)
originalStrings[indexText] = (match)
while(found)
ASSERT(models == result_match)
ASSERT(models == result_match)
ASSERT(originalStrings ~= list("\"1\"" = "2-8", "\"2\"" = "4-8"))
ASSERT(stringIndex == 3)

0 comments on commit c8bc202

Please sign in to comment.