Jump to content

Module talk:Redirect/testcases

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Mr. Stradivarius (talk | contribs) at 05:10, 7 March 2017 (fix function name after switch to Module:ScribuntoUnit). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

☒N 1 test failed.

Name Expected Actual
checkY testMain
checkY testMainWithPadding
checkY testMainWithBlankArgument
checkY testMainWithInputBrackets
checkY testMainWithOutputBrackets
checkY testMainWithInputAndOutputBrackets
checkY testMainWithInputBracketsAndPadding
checkY testMainWithRealInvalidRedirect
checkY testMainWithRealValidRedirect
checkY testContentAmpersandCanonicalisation
checkY testContentPercentCanonicalisation
checkY testContentAmpersandInsidePercentCanonicalisation
☒N testContentPercentInsideAmpersandCanonicalisation Module talk:Redirect/sandbox Module talk:Redirect
checkY testTitleCanonicalisation
checkY testTitleInitialCapitalCanonicalisation
checkY testIsRedirect
checkY testIsRedirect


Note: I don't see even a single difference in the source code for the test versus actual in #4. — Preceding unsigned comment added by Wnt (talkcontribs)

Works now. An extra space in the Redirect module code, and the lack of span in the testcase code were the reasons it failed to match. --darklama 21:45, 22 March 2013 (UTC)[reply]