Skip to content

Commit

Permalink
add negative test
Browse files Browse the repository at this point in the history
  • Loading branch information
sovdeeth committed Apr 19, 2024
1 parent 6bb4516 commit b4f48cc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/test/skript/tests/misc/comments.sk
Expand Up @@ -40,3 +40,8 @@ test "comments":
set {##_b::%"{}"%} to "test"
set {##_b::%"{}#"%} to "test"
assert last parse logs is not set with "skript should be able to handle hashtags in variable names but did not"


parse:
set {##_b::%"{}"#%} to "test"
assert last parse logs is set with "skript should not be able to handle hashtags in an expression in a variable name but did"

0 comments on commit b4f48cc

Please sign in to comment.