()
| 40 | expect_token("foo", cell, i) |
| 41 | |
| 42 | def test_multiline(): |
| 43 | cell = '\n'.join([ |
| 44 | 'a = 5', |
| 45 | 'b = hello("string", there)' |
| 46 | ]) |
| 47 | expected = 'hello' |
| 48 | start = cell.index(expected) + 1 |
| 49 | for i in range(start, start + len(expected)): |
| 50 | expect_token(expected, cell, i) |
| 51 | expected = 'hello' |
| 52 | start = cell.index(expected) + 1 |
| 53 | for i in range(start, start + len(expected)): |
| 54 | expect_token(expected, cell, i) |
| 55 | |
| 56 | def test_multiline_token(): |
| 57 | cell = '\n'.join([ |
nothing calls this directly
no test coverage detected