

def testCanParseSearchOffset(self):
    parser = cmd_line.AddressParser('/foo bar')
    rv = parser.parse()
    expected = {
        'ref': None,
        'search_offsets': [['/', 'foo bar', 0]],
        'offset': None,
    }
    self.assertEqual(rv, expected)

dataset/ETHPy150Open SublimeText/VintageEx/vex/parsers/test_cmdline.py TestAddressParser.testCanParseSearchOffset/original