diff --git a/src/test/skript/tests/syntaxes/expressions/ExprSortedList.sk b/src/test/skript/tests/syntaxes/expressions/ExprSortedList.sk index 6fd9d0e55f8..819486dbaaa 100644 --- a/src/test/skript/tests/syntaxes/expressions/ExprSortedList.sk +++ b/src/test/skript/tests/syntaxes/expressions/ExprSortedList.sk @@ -10,9 +10,8 @@ test "sort": # Test sorting loop sorted {_list::*}: - if {_prev} is not set: - set {_prev} to loop-value - continue - assert loop-value >= {_prev} with "Couldn't sort correctly" + if {_prev} is set: + assert loop-value >= {_prev} with "Couldn't sort correctly" + set {_prev} to loop-value assert (sorted 1 and "test") is not set with "Sorting incomparable values returned a value"