diff tests/test-hgweb.t @ 38205:9ed3527019b5

monoblue: don't show '[up]' in file view when in root directory already
author Anton Shestakov <av6@dwimlabs.net>
date Thu, 31 May 2018 18:39:35 +0800
parents d6aa1fc8292f
children 273ce823ba5c
line wrap: on
line diff
--- a/tests/test-hgweb.t	Thu May 31 18:33:49 2018 +0800
+++ b/tests/test-hgweb.t	Thu May 31 18:39:35 2018 +0800
@@ -812,6 +812,10 @@
   [1]
   $ get-with-headers.py localhost:$HGPORT 'file/tip/da?style=gitweb' | grep -F '[up]'
   <a href="/file/tip/?style=gitweb">[up]</a>
+  $ get-with-headers.py localhost:$HGPORT 'file/tip?style=monoblue' | grep -F '[up]'
+  [1]
+  $ get-with-headers.py localhost:$HGPORT 'file/tip/da?style=monoblue' | grep -F '[up]'
+  <a href="/file/tip/?style=monoblue">[up]</a>
 
 no style can be loaded from directories other than the specified paths