changeset 2555:41a1d2a93223

test: fix template condition for obsfate
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Thu, 08 Jun 2017 02:58:54 +0100
parents 85cabd631a1b
children d5b97b5dec5b
files tests/test-evolve-templates.t
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-evolve-templates.t	Wed Jun 07 01:38:48 2017 +0100
+++ b/tests/test-evolve-templates.t	Thu Jun 08 02:58:54 2017 +0100
@@ -17,7 +17,7 @@
   >     {if(precursors, "\n  semi-colon: {join(precursors, "; ")}")}\
   >     {if(successors, "\n  Successors: {successors}")}\
   >     {if(successors, "\n  semi-colon: {join(successors, "; ")}")}\
-  >     {if(successors, "\n  Fate: {obsfate_quiet}")}\n'
+  >     {if(obsfate_quiet, "\n  Fate: {obsfate_quiet}")}\n'
   > EOF
 
 Test templates on amended commit
@@ -109,7 +109,7 @@
   |      semi-colon: [d004c8f274b9]
   |      Fate: superseed as d004c8f274b9
   | x  f137d23bb3e1
-  | |
+  | |    Fate: pruned
   | x  471f378eab4c
   |/     Successors: [a468dc9b3633]
   |      semi-colon: [a468dc9b3633]
@@ -135,7 +135,7 @@
   |      semi-colon: [d004c8f274b9]
   |      Fate: superseed as d004c8f274b9
   | x  f137d23bb3e1
-  | |
+  | |    Fate: pruned
   | x  471f378eab4c
   |/     Successors: [a468dc9b3633]
   |      semi-colon: [a468dc9b3633]