Skip to content

Commit 7c108c7

Browse files
committed
Polish test
1 parent 0216798 commit 7c108c7

File tree

1 file changed

+3
-1
lines changed
  • python/ql/test/experimental/query-tests/Security/CWE-347

1 file changed

+3
-1
lines changed

python/ql/test/experimental/query-tests/Security/CWE-347/python_jwt.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,13 @@
22

33
# GOOD
44

5-
def good1(token):
5+
6+
def good(token):
67
python_jwt.process_jwt(token)
78
python_jwt.verify_jwt(token, "key", "HS256")
89

910
# BAD
1011

12+
1113
def bad(token):
1214
python_jwt.process_jwt(token)

0 commit comments

Comments
 (0)