Ejemplo n.º 1
0
    def test_eol_distance_next(self):
        SRC = SourceString('hello world')

        assert SRC.eol_distance_next() == 11
        SRC.eat_string('hello')
        assert SRC.eol_distance_next() == 6