()
| 841 | |
| 842 | |
| 843 | def test_sort_numbers(): |
| 844 | items = [4, 2, 6, 7] |
| 845 | result = [None] |
| 846 | pm.eval("(result, arr) => {result[0] = arr.sort()}")(result, items) |
| 847 | assert result[0] is items |
| 848 | assert items == [2, 4, 6, 7] |
| 849 | |
| 850 | |
| 851 | def test_sort_strings(): |
nothing calls this directly
no outgoing calls
no test coverage detected