Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:String/testcases: Revision history

From Kenshi Wiki

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.

16 February 2025

  • curprev 09:5409:54, 16 February 2025 Prd talk contribs 5,013 bytes +5,013 Created page with "-- Unit tests for Module:String. Click talk page to run tests. local p = require('Module:UnitTests') function p:test_len() self:preprocess_equals_many('{{#invoke:String/sandbox|len|', '}}', { {' foo ', '5'}, {'s= foo ', '3'}, {'', '0'}, {'s=', '0'}, {' ', '3'}, {'最近の更新', '5'}, }) end function p:test_replace() self:preprocess_equals_many('{{#invoke:String/sandbox|replace|', '}}', { {'1.1.1.1|.|/', '1/1/1/1'}, {'alpha (beta)| (| gamma (..."