April 8, 2026
11:52 a.m.
Vishnunithyasoundhar S (@svishnunithyasoundhar) commented about dlls/vbscript/tests/lang.vbs:
call ok(Split("1;2", ";")(0) = "1", "Split(""1;2"", "";"")(0) = " & Split("1;2", ";")(0)) call ok(Split("1;2", ";")(1) = "2", "Split(""1;2"", "";"")(1) = " & Split("1;2", ";")(1)) +Function GetABC() + GetABC = Array("a", "b", "c") +End Function +call ok(GetABC()(0) = "a", "GetABC()(0) = " & GetABC()(0)) +call ok(GetABC()(1) = "b", "GetABC()(1) = " & GetABC()(1)) +call ok(GetABC()(2) = "c", "GetABC()(2) = " & GetABC()(2)) +
Do you think some more tests in the following styles would be nice to add? `dict.Keys()(0).Length` - dot accessor `Len(GetStr())` - Chain calls -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10362#note_135511