##// END OF EJS Templates
revset: fix %r handling in formatspec
revset: fix %r handling in formatspec

File last commit:

r15249:f30c0a7b default
r15268:bd510381 default
Show More
test-run-tests.t
53 lines | 606 B | text/troff | Tads3Lexer
Simple commands:
$ echo foo
foo
$ printf 'oh no'
oh no (no-eol)
$ printf 'bar\nbaz\n' | cat
bar
baz
Multi-line command:
$ foo() {
> echo bar
> }
$ foo
bar
Doctest commands:
>>> print 'foo'
foo
$ echo interleaved
interleaved
>>> for c in 'xyz':
... print c
x
y
z
>>> print
<BLANKLINE>
Regular expressions:
$ echo foobarbaz
foobar.* (re)
$ echo barbazquux
.*quux.* (re)
Globs:
$ printf '* \\foobarbaz {10}\n'
\* \\fo?bar* {10} (glob)
Literal match ending in " (re)":
$ echo 'foo (re)'
foo (re)
Exit code:
$ (exit 1)
[1]