()
| 178 | |
| 179 | |
| 180 | def test_push_two_args(): |
| 181 | items = [1, 2, 3] |
| 182 | result = [None] |
| 183 | pm.eval("(result, arr) => {result[0] = arr.push(4,false)}")(result, items) |
| 184 | assert items == [1, 2, 3, 4, False] |
| 185 | assert result[0] == 5 |
| 186 | |
| 187 | |
| 188 | def test_push_list(): |
nothing calls this directly
no outgoing calls
no test coverage detected