Patchwork [stable] color: add a test with extension loaded and ui.formatted=False

login
register
mail settings
Submitter Siddharth Agarwal
Date April 20, 2013, 5:07 a.m.
Message ID <6c8b006d3cc06b1304d2.1366434442@sid0x220>
Download mbox | patch
Permalink /patch/1463/
State Accepted
Commit a1922b9a2cad6f36df51e482d626e8d02ac2ac81
Headers show

Comments

Siddharth Agarwal - April 20, 2013, 5:07 a.m.
# HG changeset patch
# User Siddharth Agarwal <sid0@fb.com>
# Date 1366434239 25200
#      Fri Apr 19 22:03:59 2013 -0700
# Branch stable
# Node ID 6c8b006d3cc06b1304d2cc6e10ef86ec9d8d25e0
# Parent  1fa7526ac4e13a012ff51dd3fec79283bc2c8243
color: add a test with extension loaded and ui.formatted=False

Patch

diff -r 1fa7526ac4e1 -r 6c8b006d3cc0 tests/test-status-color.t
--- a/tests/test-status-color.t	Wed Apr 10 00:50:40 2013 -0700
+++ b/tests/test-status-color.t	Fri Apr 19 22:03:59 2013 -0700
@@ -119,6 +119,15 @@  Make sure --color=never works
   ? b/in_b
   ? in_root
 
+Make sure ui.formatted=False works
+  $ hg status --config ui.formatted=False
+  ? a/1/in_a_1
+  ? a/in_a
+  ? b/1/in_b_1
+  ? b/2/in_b_2
+  ? b/in_b
+  ? in_root
+
   $ cd ..
 
   $ hg init repo2