

def testLastLineSymbolCanHavePostfixSearchBasedOffsets(self):
    parser = cmd_line.VimParser('$?foo?+10')
    rv = parser.parse_range()
    expected = cmd_line.default_range_info.copy()
    expected['left_ref'] = '$'
    expected['left_search_offsets'] = [['?', 'foo', 10]]
    parser['text_range'] = '$?foo?+10'
    self.assertEqual(rv, expected)

dataset/ETHPy150Open SublimeText/VintageEx/vex/parsers/test_cmdline.py VimParser.testLastLineSymbolCanHavePostfixSearchBasedOffsets/VarMisuse@59/95 `expected`->`parser`