tests/test-revset.t
changeset 25105 2f34746c27df
parent 25102 bb2f543b48b5
child 25129 40a2cf1c765b
equal deleted inserted replaced
25104:d6453f6fbdba 25105:2f34746c27df
   613         ('symbol', '8'))))
   613         ('symbol', '8'))))
   614   * set:
   614   * set:
   615   <baseset+ [8, 9]>
   615   <baseset+ [8, 9]>
   616   8
   616   8
   617   9
   617   9
       
   618   $ try --optimize '(9)%(5)'
       
   619   (only
       
   620     (group
       
   621       ('symbol', '9'))
       
   622     (group
       
   623       ('symbol', '5')))
       
   624   * optimized:
       
   625   (func
       
   626     ('symbol', 'only')
       
   627     (list
       
   628       ('symbol', '9')
       
   629       ('symbol', '5')))
       
   630   * set:
       
   631   <baseset+ [8, 9, 2, 4]>
       
   632   2
       
   633   4
       
   634   8
       
   635   9
   618 
   636 
   619 Test the order of operations
   637 Test the order of operations
   620 
   638 
   621   $ log '7 + 9%5 + 2'
   639   $ log '7 + 9%5 + 2'
   622   7
   640   7