

def testLastLineSymbolCanHavePostfixSignOffsets(self):
    parser = cmd_line.VimParser('$+')
    rv = parser.parse_range()
    expected = cmd_line.default_range_info.copy()
    expected['left_ref'] = '$'
    expected['left_offset'] = 1
    parser['text_range'] = '$+'
    self.assertEqual(rv, expected)

dataset/ETHPy150Open SublimeText/VintageEx/vex/parsers/test_cmdline.py VimParser.testLastLineSymbolCanHavePostfixSignOffsets/VarMisuse@51/77 `expected`->`parser`