##// END OF EJS Templates
tests: document behavior of indent() with empty first line...
Martin von Zweigbergk -
r44092:0fd9e7a1 default
parent child Browse files
Show More
@@ -1504,6 +1504,21 b' Test indent and not adding to empty line'
1504 1504
1505 1505 >> other 3
1506 1506
1507 Test indent with empty first line
1508
1509 $ hg version -T "{indent('', '>> ')}\n"
1510 >>
1511
1512 $ hg version -T "{indent('
1513 > second', '>> ')}\n"
1514 >>
1515 >> second
1516
1517 $ hg version -T "{indent('
1518 > second', '>> ', ' > ')}\n"
1519 >
1520 >> second
1521
1507 1522 Test with non-strings like dates
1508 1523
1509 1524 $ hg log -T "{indent(date, ' ')}\n" -r 2:3 -R a
General Comments 0
You need to be logged in to leave comments. Login now