Module talk:UnitTests: Difference between revisions

Content deleted Content added
m Replaced deprecated <source> tags with <syntaxhighlight> (via WP:JWB)
Line 78:
 
A handful of functions in this module are not marked 'local', but could and (arguably) should be. --[[Special:Contributions/86.143.105.15|86.143.105.15]] ([[User talk:86.143.105.15|talk]]) 10:36, 27 January 2022 (UTC)
 
== Tests not failing when they should ==
 
I'm creating testcases for [[Module:GetShortDescription]] and [[Module:AnnotatedLink]] and due to my own derping, left some copy-pasta typos which should have caused a series of tests to fail, but they did not. I fixed the typos but [[Special:Diff/1135864158/1135864279|purposefully altered one test to fail]] and it sailed through running <code><nowiki>{{#invoke:AnnotatedLink/testcases|run_tests}}</nowiki></code>. Am I doing something wrong, or is there a problem with this module? <code style="background:#DFF;white-space:pre">[[User:Fred Gandt|Fred Gandt]] · [[User talk:Fred Gandt|talk]] · [[Special:Contributions/Fred Gandt|contribs]]</code> 09:42, 27 January 2023 (UTC)