don't put asserts under same case, test rep operator

This commit is contained in:
Kyryl Melekhin
2021-08-05 11:25:55 +00:00
parent 95a9274ef3
commit 515312b80d
2 changed files with 34 additions and 30 deletions

View File

@@ -90,6 +90,7 @@ abc\\\\>
[-+]?\\\\<(0[xX][0-9a-fA-FUL]+|[0-9.]{1,}[0-9eEfFuULl]+|[0-9]+)\\\\>
[-+]?\\\\<(0[xX][0-9a-fA-FUL]+|[0-9.]{1,}[0-9eEfFuULl]+|[0-9]+)\\\\>
[-+]?\\\\<(0[xX][0-9a-fA-FUL]+|[0-9.]{1,}[0-9eEfFuULl]+|[0-9]+)\\\\>
[-+]?\\\\<(0[xX][0-9a-fA-FUL]+|[0-9.]{1,}[0-9eEfFuULl]+|[0-9]+)\\\\>
qwerty.*$
"
input="\
@@ -182,6 +183,7 @@ world
3245 jjfjjj
0x663q
x37247
124435.7727ULL
jjdfjk sjdjjsqwerty jdfjdfhhdhfdjjjfj jjjdf
"
expect="\
@@ -274,6 +276,7 @@ expect="\
(3,7)(3,7)
-nomatch-
-nomatch-
(2,16)(2,16)
(14,44)
(0,0)
"