aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2020-05-25 21:02:24 -0700
committerGravatar MarkKoz <[email protected]>2020-05-25 21:02:24 -0700
commita8a216d0803b67a330ae092a17bea563f5012275 (patch)
tree4d014495a1204d566b192de341315d24f2e24a34 /Dockerfile
parentAdd more valid tokens to test the regex with (diff)
Fix valid token regex test
It was broken due to the addition of groups. Rather than returning the full match, `findall` returns groups if any exist. The test was comparing a tuple of groups to the token string, which was of course failing. Now `fullmatch` is used cause it's simpler - just check for `None` and don't worry about iterating matches to search.
Diffstat (limited to 'Dockerfile')
0 files changed, 0 insertions, 0 deletions