# HG changeset patch # User Pierre-Yves David # Date 1496887134 -3600 # Node ID 41a1d2a93223fa98c0f8da7563916fb5d6d6ec54 # Parent 85cabd631a1be6cc881c8c76a733462143fd4bbf test: fix template condition for obsfate diff -r 85cabd631a1b -r 41a1d2a93223 tests/test-evolve-templates.t --- 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]