tests/test-audit-path.out
author Brendan Cully <brendan@kublai.com>
Fri, 29 Feb 2008 14:47:07 -0800
changeset 6198 358cc9cf54db
parent 5158 d316124ebbea
child 7554 11a4eb81fb4f
permissions -rw-r--r--
highlight: guess by text when path name is ambiguous Although the docs claim that guess_lexer_for_filename will fall back to using file data, my ubuntu 7.10 pygments library seems to ignore the text argument. So call guess_lexer explicitly on failure.

% should fail
abort: path contains illegal component: .hg/00changelog.i
adding a/a
% should fail
abort: path 'b/b' traverses symbolic link 'b'
% should succeed
% should still fail - maybe
abort: path 'b/b' traverses symbolic link 'b'