()
| 447 | |
| 448 | |
| 449 | def test_splice_no_args(): |
| 450 | items = [1, 2, 3] |
| 451 | result = [None] |
| 452 | pm.eval("(result, arr) => {result[0] = arr.splice()}")(result, items) |
| 453 | assert items == [1, 2, 3] |
| 454 | assert result[0] == [] |
| 455 | |
| 456 | |
| 457 | def test_splice_one_arg(): |
nothing calls this directly
no outgoing calls
no test coverage detected