()
| 256 | |
| 257 | |
| 258 | def test_concat_empty_arg(): |
| 259 | items = [1, 2, 3] |
| 260 | result = [None] |
| 261 | pm.eval("(result, arr) => {result[0] = arr.concat()}")(result, items) |
| 262 | assert items == [1, 2, 3] |
| 263 | assert result[0] == [1, 2, 3] |
| 264 | assert items is not result[0] |
| 265 | |
| 266 | |
| 267 | def test_concat_two_arrays(): |
nothing calls this directly
no outgoing calls
no test coverage detected