def test_vl_spec_for_text_changes():
    text = api.Text('foobar', type='O', timeUnit='minutes', bin=api.Bin(), sort=[api.SortItems()], aggregate='avg',
                    scale=api.Scale(), align='left', baseline='top', color='#111111', margin=3, placeholder = 'Aaa',
                    font=api.Font(), format='format')
    assert text.name == 'foobar'
    assert text.type == 'O'
    assert text.timeUnit == 'minutes'
    assert text.bin.to_dict() == api.Bin().to_dict()
    assert text.sort[0].to_dict() == api.SortItems().to_dict()
    assert text.aggregate == 'avg'
    assert text.scale.to_dict() == api.Scale().to_dict()
    assert text.align == 'left'
    assert text.baseline == 'top'
    assert text.color == '#111111'
    assert text.margin == 3
    assert text.placeholder == 'Aaa'
    assert text.font.to_dict() == api.Font().to_dict()
    assert text.format == 'format'

    text.shorthand = 'sum(foobar):Q'
    assert text.name == 'foobar'
    assert text.type == 'Q'
    assert text.timeUnit == 'minutes'
    assert text.bin.to_dict() == api.Bin().to_dict()
    assert text.sort[0].to_dict() == api.SortItems().to_dict()
    assert text.aggregate == 'sum'
    assert text.scale.to_dict() == api.Scale().to_dict()
    assert text.align == 'left'
    assert text.baseline == 'top'
    assert text.color == '#111111'
    assert text.margin == 3
    assert text.placeholder == 'Aaa'
    assert text.font.to_dict() == api.Font().to_dict()
    assert text.format == 'format'
>>> text = '''
dataset/ETHPy150Open ellisonbg/altair/altair/tests/test_api.py/test_vl_spec_for_text_changes--crossover with--dataset/ETHPy150Open limodou/par/test/test_md.py/test_pre_3