Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Pikachu920 committed Feb 24, 2024
1 parent 65d034a commit 9f8dbfc
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions src/test/scripts/CondChange.sk
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,13 @@ test "CondChange - add":
assert a string can't be added to raw (all players) with "a string shouldn't be addable to all players"

test "CondChange - remove":
assert an integer can be removed from raw ({_v::*}) with "an integer should be removable from a variable"
assert integers can be removed from raw ({_v::*}}) with "multiple integers should be removable from a variable"
assert integers can be removed from raw ({_v::*}}) with "multiple integers should be removable from a variable"
assert a string can't be removed from raw (all players) with "a string shouldn't be removable all players"
assert an integer can be removed from raw (durability of {_v}) with "an integer should be removable from the durability expression"

assert a player can be removed from raw ({_v::*}) with "a player should be removable from a variable"
assert players can be removed from raw ({_v::*}}) with "multiple players should be removable from a variable"
assert a player can't be removed from raw (block at {_v}) with "a player shouldn't be removable the block expression"
assert a integer can be removed from raw (durability of {_v}) with "an integer should be removable from the durability expression"

test "CondChange - remove all":
assert all integer can be removed from raw ({_v::*}) with "all integer should be removable from a variable"
assert all integers can be removed from to raw ({_v::*}}) with "all integers should be removable from a variable"
assert all integers can't be removed from raw (name of {_v}) with "all integers shouldn't be removable from the name expression"
assert all integer can't be removed from raw (name of {_v}) with "all integers shouldn't be removable from the name expression"
assert all player can be removed from raw ({_v::*}) with "all integer should be removable from a variable"
assert all players can be removed from to raw ({_v::*}}) with "all integers should be removable from a variable"
assert all strings can't be removed from raw (name of {_v}) with "all strings shouldn't be removable from the name expression"
assert all players can't be removed from raw (name of {_v}) with "all players shouldn't be removable from the name expression"

0 comments on commit 9f8dbfc

Please sign in to comment.