def test_lex_line_counting_multi():
 entries = tokenize('\n(foo (one two))\n(foo bar)\n')
 entry = entries[0]
 assert (entry.start_line == 2)
 assert (entry.start_column == 1)
 assert (entry.end_line == 2)
 assert (entry.end_column == 15)
 entry = entries[1]
 assert (entry.start_line == 3)
 assert (entry.start_column == 1)
 assert (entry.end_line == 3)
 assert (entry.end_column == 9)

def test_lex_line_counting_multi ( ) : entries = tokenize ( '\n(foo (one two))\n(foo bar)\n' ) entry = entries [ 0 ] assert ( entry . start_line == 2 ) assert ( entry . start_column == 1 ) assert ( entry . end_line == 2 ) assert ( entry . end_column == 15 ) entry = entries [ 1 ] assert ( entry . start_line == 3 ) assert ( entry . start_column == 1 ) assert ( entry . end_line == 3 ) assert ( entry . end_column == 9 )
make sure we can do multi-line tokenization .