()
| 455 | |
| 456 | |
| 457 | def test_splice_one_arg(): |
| 458 | items = [1, 2, 3] |
| 459 | result = [None] |
| 460 | pm.eval("(result, arr) => {result[0] = arr.splice(1)}")(result, items) |
| 461 | assert items == [1] |
| 462 | assert result[0] == [2, 3] |
| 463 | |
| 464 | |
| 465 | def test_splice_one_arg_negative(): |
nothing calls this directly
no outgoing calls
no test coverage detected