Patchwork [5,of,5] tests: rename and document test-command-template.t

login
register
mail settings
Submitter Yuya Nishihara
Date June 22, 2018, 12:48 p.m.
Message ID <42e236fe9560b8ad81fd.1529671697@mimosa>
Download mbox | patch
Permalink /patch/32374/
State Accepted
Headers show

Comments

Yuya Nishihara - June 22, 2018, 12:48 p.m.
# HG changeset patch
# User Yuya Nishihara <yuya@tcha.org>
# Date 1529127275 -32400
#      Sat Jun 16 14:34:35 2018 +0900
# Node ID 42e236fe9560b8ad81fd59584e8ee7f6ce7442b7
# Parent  2243756d64b47cf55a94040ad23034fa58314161
tests: rename and document test-command-template.t

So that we can specify templater tests as test-template-*.

  (original)
  $ wc -l test-command-template.t test-template-*
  5041 test-command-template.t
    23 test-template-filters.t
  5064 total

  (at this patch)
  $ wc -l test-template-*
  1088 test-template-basic.t
  1376 test-template-functions.t
  1195 test-template-keywords.t
  1760 test-template-map.t
  5419 total

Patch

diff --git a/contrib/python3-whitelist b/contrib/python3-whitelist
--- a/contrib/python3-whitelist
+++ b/contrib/python3-whitelist
@@ -51,7 +51,6 @@  test-clone-cgi.t
 test-clone-pull-corruption.t
 test-clone-r.t
 test-clone-update-order.t
-test-command-template.t
 test-commit-amend.t
 test-commit-interactive.t
 test-commit-multiple.t
@@ -489,6 +488,7 @@  test-symlink-placeholder.t
 test-symlinks.t
 test-tag.t
 test-tags.t
+test-template-basic.t
 test-template-functions.t
 test-template-keywords.t
 test-template-map.t
diff --git a/tests/test-command-template.t b/tests/test-template-basic.t
rename from tests/test-command-template.t
rename to tests/test-template-basic.t
--- a/tests/test-command-template.t
+++ b/tests/test-template-basic.t
@@ -1,3 +1,6 @@ 
+Test template syntax and basic functionality
+============================================
+
   $ hg init a
   $ cd a
   $ echo a > a