# HG changeset patch # User Ludovic Chabant # Date 1514257325 28800 # Node ID bcb7bd54d347db33af1d69b6b266ee5995cbc8da # Parent d85de09f40c749ef8ef261eb52f7924f650705a6 tests: Fix determinism bug in linker test. diff -r d85de09f40c7 -r bcb7bd54d347 tests/bakes/test_linker.yaml --- a/tests/bakes/test_linker.yaml Mon Dec 25 19:01:27 2017 -0800 +++ b/tests/bakes/test_linker.yaml Mon Dec 25 19:02:05 2017 -0800 @@ -9,7 +9,7 @@ --- in: pages/foo.html: | - {%for c in family.children-%} + {%for c in family.children|sort(attribute='title')-%} {{c.title}} {%endfor%} pages/foo/one.html: | @@ -31,7 +31,7 @@ title: Foo date: '2010/01/07' --- - {%for c in family.siblings-%} + {%for c in family.siblings|sort(attribute='title')-%} {{c.title}}{%if c.is_self%} SELFIE!{%endif%} {%endfor%} pages/bar.html: |