##// END OF EJS Templates
util: canonpath: simplify logic...
util: canonpath: simplify logic if root == os.sep, then endswithsep(root) is True as well: one test is enough

File last commit:

r7040:f29b674c merge default
r9386:eae98607 default
Show More
test-username-newline.out
8 lines | 191 B | text/plain | TextLexer
/ tests / test-username-newline.out
adding a
abort: username 'foo\nbar1' contains a newline
abort: username 'foo\nbar2' contains a newline
transaction abort!
rollback completed
abort: username 'foo\nbar3' contains a newline!