Skip to content

Commit 4f9303e

Browse files
authored
Merge pull request github#14790 from RasmusWL/clean-tests
Python: Accept new ordering of query predicates in `.expected`
2 parents f100137 + 25d3af9 commit 4f9303e

File tree

185 files changed

+182
-193
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

185 files changed

+182
-193
lines changed

python/ql/test/2/library-tests/ControlFlow/Exceptions/Handles.expected

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88
| 38 | ControlFlowNode for ExceptStmt | builtin-class AttributeError |
99
| 40 | ControlFlowNode for ExceptStmt | builtin-class IndexError |
1010
| 42 | ControlFlowNode for ExceptStmt | builtin-class KeyError |
11-
| 57 | ControlFlowNode for ExceptStmt | builtin-class IOError |
11+
| 57 | ControlFlowNode for ExceptStmt | builtin-class IOError |

python/ql/test/2/library-tests/ControlFlow/Exceptions/Known.expected

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
| 35 | ControlFlowNode for Attribute | builtin-class AttributeError |
1313
| 37 | ControlFlowNode for Raise | builtin-class Exception |
1414
| 53 | ControlFlowNode for Attribute() | builtin-class IOError |
15-
| 54 | ControlFlowNode for Attribute() | builtin-class IOError |
15+
| 54 | ControlFlowNode for Attribute() | builtin-class IOError |

python/ql/test/2/library-tests/ControlFlow/Exceptions/Unknown.expected

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
| 36 | ControlFlowNode for a() |
44
| 51 | ControlFlowNode for open() |
55
| 56 | ControlFlowNode for Attribute() |
6-
| 58 | ControlFlowNode for Attribute() |
6+
| 58 | ControlFlowNode for Attribute() |

python/ql/test/2/library-tests/classes/attr/class_has_attr.expected

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
| 36 | class DerivedFromBuiltin | pop |
88
| 36 | class DerivedFromBuiltin | remove |
99
| 36 | class DerivedFromBuiltin | reverse |
10-
| 36 | class DerivedFromBuiltin | sort |
10+
| 36 | class DerivedFromBuiltin | sort |
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
| 0 |
1+
| 0 |

python/ql/test/2/library-tests/modules/general/import_test.expected

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
| Module package.helper | 2 | ImportExpr | 0 | bottom | absolute | assistant |
1313
| Module package.helper | 3 | ImportExpr | 0 | top | absolute | sys |
1414
| Module package.helper | 10 | ImportExpr | 1 | bottom | relative | package |
15-
| Module test_star | 1 | ImportExpr | -1 | bottom | absolute | test_package |
15+
| Module test_star | 1 | ImportExpr | -1 | bottom | absolute | test_package |

python/ql/test/2/library-tests/modules/package_members/module_attributes.expected

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,4 @@
5454
| Module test_star | p | str b'p' |
5555
| Module test_star | q | str b'q' |
5656
| Module test_star | r | str b'r' |
57-
| Module test_star | sys | Module sys |
57+
| Module test_star | sys | Module sys |

python/ql/test/2/library-tests/modules/package_members/module_exports.expected

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@
3939
| Module test_star | p |
4040
| Module test_star | q |
4141
| Module test_star | r |
42-
| Module test_star | sys |
42+
| Module test_star | sys |

python/ql/test/2/library-tests/modules/package_members/module_import_as.expected

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
| Module test_package.module2 | test_package.module2 |
66
| Module test_package.module3 | test_package.module3 |
77
| Module test_package.module4 | test_package.module4 |
8-
| Module test_star | test_star |
8+
| Module test_star | test_star |

python/ql/test/2/library-tests/types/properties/BuiltinProperties.expected

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
| builtin-class type | __dict__ | Property __dict__ | method-wrapper __get__ | method-wrapper __set__ | method-wrapper __delete__ |
55
| builtin-class type | __doc__ | Property __doc__ | method-wrapper __get__ | method-wrapper __set__ | method-wrapper __delete__ |
66
| builtin-class type | __module__ | Property __module__ | method-wrapper __get__ | method-wrapper __set__ | method-wrapper __delete__ |
7-
| builtin-class type | __name__ | Property __name__ | method-wrapper __get__ | method-wrapper __set__ | method-wrapper __delete__ |
7+
| builtin-class type | __name__ | Property __name__ | method-wrapper __get__ | method-wrapper __set__ | method-wrapper __delete__ |

0 commit comments

Comments
 (0)