-
-
Notifications
You must be signed in to change notification settings - Fork 376
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* ExprSets - fix return issue * 7327 - add regression test * ExprSets - get rid of ArrayList, eww --------- Co-authored-by: Efnilite <35348263+Efnilite@users.noreply.github.com>
- Loading branch information
Showing
2 changed files
with
14 additions
and
2 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
10 changes: 10 additions & 0 deletions
10
src/test/skript/tests/regressions/7327-expr-sets-return.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,10 @@ | ||
test "ExprSets class return failure": | ||
|
||
set {_i} to diamond sword with item flag all item flags | ||
assert {_i} is set with "Item with all item flags should be set" | ||
|
||
set {_i::*} to 1 of all itemtypes | ||
assert {_i::*} is set with "X of set of all itemtypes should be set" | ||
|
||
# You're a lone wolf, Just want to make sure you don't error | ||
set custom model data of all itemtypes to 10 |