Koha Test Wiki MW Canasta on Koha Portainer

Test major Koha Wiki changes or bug fixes here without fear of breaking the production wiki.

For the current Koha Wiki, visit https://wiki.koha-community.org .

Template:Str index/testcases

From Koha Test Wiki MW Canasta on Koha Portainer
Jump to navigation Jump to search

Template:Template test cases notice

Testing {{str index/sandbox}} and {{str index}}

{{str index/sandbox}} String Module Error: String index out of range
{{str index}} String Module Error: String index out of range
{{str index/sandbox| abc}} String Module Error: String index out of range
{{str index| abc}} String Module Error: String index out of range
{{str index/sandbox| abc| 2}} b
{{str index| abc| 2}} b

{{str index/sandbox| abc| 3}} c
{{str index| abc| 3}} c
{{str index/sandbox| abc| 4}} String Module Error: String index out of range
{{str index| abc| 4}} String Module Error: String index out of range
{{str index/sandbox| abc| 5}} String Module Error: String index out of range
{{str index| abc| 5}} String Module Error: String index out of range
{{str index/sandbox| abc| 6}} String Module Error: String index out of range
{{str index| abc| 6}} String Module Error: String index out of range

={{str index/sandbox| a c| 2}}= = =
={{str index| a c| 2}}= = =
{{str index/sandbox| abc| 4}} String Module Error: String index out of range
{{str index| abc| 4}} String Module Error: String index out of range
{{str index/sandbox| abc| 5}} String Module Error: String index out of range
{{str index| abc| 5}} String Module Error: String index out of range
{{str index/sandbox| abc| 6}} String Module Error: String index out of range
{{str index| abc| 6}} String Module Error: String index out of range

{{str index/sandbox| abc| 0}} String Module Error: String index out of range
{{str index| abc| 0}} String Module Error: String index out of range
{{str index/sandbox| abc| 1}} a
{{str index| abc| 1}} a
{{str index/sandbox|abc|1}} a
{{str index|abc|1}} a

{{str index/sandbox| abc| 0}} String Module Error: String index out of range
{{str index| abc| 0}} String Module Error: String index out of range
{{str index/sandbox| abc| 1}} a
{{str index| abc| 1}} a
{{str index/sandbox|abc|2.25}} Lua error in ustring.lua at line 361: attempt to perform arithmetic on field '?' (a nil value).
{{str index|abc|2.25}} Lua error in ustring.lua at line 361: attempt to perform arithmetic on field '?' (a nil value).
{{str index/sandbox|abc|1.75}} Lua error in ustring.lua at line 361: attempt to perform arithmetic on field '?' (a nil value).
{{str index|abc|1.75}} Lua error in ustring.lua at line 361: attempt to perform arithmetic on field '?' (a nil value).
{{str index/sandbox|abc|-1}} c
{{str index|abc|-1}} c
{{str index/sandbox|abc|-2}} b
{{str index|abc|-2}} b