Skip to content

Commit 68cd422

Browse files
committed
Python: Fix test expectations
1 parent 137f9e7 commit 68cd422

File tree

4 files changed

+3
-6
lines changed

4 files changed

+3
-6
lines changed

python/ql/test/library-tests/regex/Characters.expected

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636
| (?:[^%]\|^)?%\\((\\w*)\\)[a-z] | 22 | 23 |
3737
| (?:[^%]\|^)?%\\((\\w*)\\)[a-z] | 24 | 25 |
3838
| (?P<name>[\\w]+)\| | 10 | 12 |
39-
| (?m)^(?!$) | 2 | 3 |
4039
| (?m)^(?!$) | 4 | 5 |
4140
| (?m)^(?!$) | 8 | 9 |
4241
| (\\033\|~{) | 1 | 5 |

python/ql/test/library-tests/regex/FirstLast.expected

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222
| (?P<name>[\\w]+)\| | first | 9 | 14 |
2323
| (?P<name>[\\w]+)\| | last | 9 | 13 |
2424
| (?P<name>[\\w]+)\| | last | 9 | 14 |
25-
| (?m)^(?!$) | first | 2 | 3 |
25+
| (?m)^(?!$) | first | 4 | 5 |
26+
| (?m)^(?!$) | first | 8 | 9 |
2627
| (?m)^(?!$) | last | 4 | 5 |
2728
| (?m)^(?!$) | last | 8 | 9 |
2829
| (\\033\|~{) | first | 1 | 5 |

python/ql/test/library-tests/regex/GroupContents.expected

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
| (?:[^%]\|^)?%\\((\\w*)\\)[a-z] | 0 | 10 | (?:[^%]\|^) | 3 | 9 | [^%]\|^ |
99
| (?:[^%]\|^)?%\\((\\w*)\\)[a-z] | 14 | 19 | (\\w*) | 15 | 18 | \\w* |
1010
| (?P<name>[\\w]+)\| | 0 | 15 | (?P<name>[\\w]+) | 9 | 14 | [\\w]+ |
11-
| (?m)^(?!$) | 0 | 4 | (?m) | 2 | 3 | m |
1211
| (?m)^(?!$) | 5 | 10 | (?!$) | 8 | 9 | $ |
1312
| (\\033\|~{) | 0 | 9 | (\\033\|~{) | 1 | 8 | \\033\|~{ |
1413
| \\[(?P<txt>[^[]*)\\]\\((?P<uri>[^)]*) | 2 | 16 | (?P<txt>[^[]*) | 10 | 15 | [^[]* |

python/ql/test/library-tests/regex/Regex.expected

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,9 @@
7777
| (?P<name>[\\w]+)\| | sequence | 0 | 15 |
7878
| (?m)^(?!$) | $ | 8 | 9 |
7979
| (?m)^(?!$) | ^ | 4 | 5 |
80-
| (?m)^(?!$) | char | 2 | 3 |
80+
| (?m)^(?!$) | empty group | 0 | 4 |
8181
| (?m)^(?!$) | empty group | 5 | 10 |
82-
| (?m)^(?!$) | non-empty group | 0 | 4 |
8382
| (?m)^(?!$) | sequence | 0 | 10 |
84-
| (?m)^(?!$) | sequence | 2 | 3 |
8583
| (?m)^(?!$) | sequence | 8 | 9 |
8684
| (\\033\|~{) | char | 1 | 5 |
8785
| (\\033\|~{) | char | 6 | 7 |

0 commit comments

Comments
 (0)