Skip to content

Commit

Permalink
fix tests.ahk
Browse files Browse the repository at this point in the history
  • Loading branch information
Banaanae committed Aug 16, 2024
1 parent 06572e9 commit c159227
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/Tests.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -2592,7 +2592,7 @@ class ConvertTests
expected := "
(Join`r`n
InputVar := "The Red Fox"
out := SubStr(SubStr(InputVar, 1, 7), -3)
out := SubStr(SubStr(InputVar, 1, 7), StrLen(InputVar) >= 7 ? -3 : StrLen(InputVar)-7)
FileAppend(out, "*")
)"
; or two lines:
Expand Down Expand Up @@ -5347,11 +5347,11 @@ With continuation section.
expected := "
(Join`r`n
MsgBox("
MsgBox
`(
This is the 1-parameter method. Commas (,) do not need to be escaped.
With continuation section.
`)")
"This is the 1-parameter method. Commas (,) do not need to be escaped.
With continuation section."
`)
)"
; if (this.test_exec = true) {
Expand Down

0 comments on commit c159227

Please sign in to comment.