-
-
Notifications
You must be signed in to change notification settings - Fork 377
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'SkriptLang/dev/patch' into feature/pre-…
…merge-patch
- Loading branch information
Showing
6 changed files
with
44 additions
and
52 deletions.
There are no files selected for viewing
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
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
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
13 changes: 13 additions & 0 deletions
13
src/test/skript/tests/regressions/7164-expressions sometimes dont convert.sk
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,13 @@ | ||
test "expressions sometimes dont convert": | ||
assert formatted ({_foo} + {_bar}) is not set with "formatting nothing shouldn't throw an error" | ||
|
||
set {_foo} to "test" | ||
assert formatted ({_foo} + {_bar}) is not set with "formatting string + none shouldn't throw an error" | ||
|
||
set {_foo} to 1 | ||
set {_bar} to 2 | ||
assert formatted ({_foo} + {_bar}) is not set with "formatting number + number shouldn't throw an error" | ||
|
||
set {_foo} to "foo" | ||
set {_bar} to "bar" | ||
assert formatted ({_foo} + {_bar}) is "foobar" with "formatting strings doesn't work" |