Module:ConvertNumeric/testcases: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

7 January 2024

  • curprev 04:1904:19, 7 January 2024Mob talk contribs 4,198 bytes +4,198 Created page with "-- Unit tests for Module:ConvertNumeric. Click talk page to run tests. local p = require('Module:UnitTests') local frame = mw.getCurrentFrame() local function get_error_text(wikitext) local message = frame:preprocess(wikitext):match('<strong class="error"><[^>]+>(.-)<[^>]+></strong>') message = message:match('at line %d+: (.+)%.$') or message return message end function p:test_numeral_to_english() self:preprocess_equals_many('{{#invoke:ConvertNumeric | numeral_..."