aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ref/fate/avstring
blob: bc231e81487a90d8bd75dbe4ebfbc98c32118dae (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Testing av_get_token()
|''| -> || + ||
|| -> || + ||
|:| -> || + |:|
|\| -> |\| + ||
|'| -> || + ||
|    ''    :| -> || + |:|
|    ''  ''  :| -> |  | + |:|
|foo   '' :| -> |foo   | + |:|
|'foo'| -> |foo| + ||
|foo     | -> |foo| + ||
|  '  foo  '  | -> |  foo  | + ||
|foo\| -> |foo\| + ||
|foo':  blah:blah| -> |foo:  blah:blah| + ||
|foo\:  blah:blah| -> |foo:  blah| + |:blah|
|foo'| -> |foo| + ||
|'foo :  '  :blahblah| -> |foo :  | + |:blahblah|
|\ :blah| -> | | + |:blah|
|     foo| -> |foo| + ||
|      foo       | -> |foo| + ||
|      foo     \ | -> |foo      | + ||
|foo ':blah| -> |foo :blah| + ||
| foo   bar    :   blahblah| -> |foo   bar| + |:   blahblah|
|\f\o\o| -> |foo| + ||
|'foo : \ \  '   : blahblah| -> |foo : \ \  | + |: blahblah|
|'\fo\o:': blahblah| -> |\fo\o:| + |: blahblah|
|\'fo\o\:':  foo  '  :blahblah| -> |'foo::  foo  | + |:blahblah|