Jump to content

Module talk:Infobox sort/testcases

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is the current revision of this page, as edited by Brooklynpedestrian (talk | contribs) at 10:20, 9 June 2020. The present address (URL) is a permanent link to this version.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

3 of 3 tests failed.

test_asc

test_asc
Text Expected Actual
☒N {{#invoke:Infobox sort | asc | 8% Foo | 3% Bar | 4% Carrot}} 3% Bar
4% Carrot
8% Foo
3% Bar
4% Carrot
8% Foo

test_desc

test_desc
Text Expected Actual
☒N {{#invoke:Infobox sort | desc | 2% Foo | 3% Bar | 8% Carrot}} 8% Carrot
3% Bar
2% Foo
8% Carrot
3% Bar
2% Foo

test_desc_missing_param

test_desc_missing_param
Text Expected Actual
☒N {{#invoke:Infobox sort | desc | {{#if: | 2% Foo}} | 3% Bar | 8% Carrot}} 8% Carrot
3% Bar
8% Carrot
3% Bar