Changelog updates and Lua fixes

This commit is contained in:
Zef Hemel
2025-02-09 18:37:21 +01:00
parent 107b232f49
commit fb7be2a45a
8 changed files with 44 additions and 17 deletions
+4 -4
View File
@@ -107,11 +107,11 @@ assertEqual(parts[2], "b")
assertEqual(parts[3], "c")
-- Test non-standard string extensions
assertEqual(string.startswith("hello world", "hello"), true)
assertEqual(string.startswith("hello world", "world"), false)
assertEqual(string.startsWith("hello world", "hello"), true)
assertEqual(string.startsWith("hello world", "world"), false)
assertEqual(string.endswith("hello world", "world"), true)
assertEqual(string.endswith("hello world", "hello"), false)
assertEqual(string.endsWith("hello world", "world"), true)
assertEqual(string.endsWith("hello world", "hello"), false)
-- Extended string.match tests
-- Basic pattern matching