Fix the god damn shorthands

This commit is contained in:
2025-03-22 03:56:37 +01:00
parent 16b6156cd3
commit 0c56724429
2 changed files with 18 additions and 2 deletions

View File

@@ -65,7 +65,7 @@ func TestShorthandNotation(t *testing.T) {
`
regex := regexp.MustCompile(`(?s)<value>(\d+)</value>`)
luaExpr := `v1 = v1 * 1.5` // Use direct assignment syntax
luaExpr := `v1 * 1.5` // Use direct assignment syntax
luaScript := buildLuaScript(luaExpr)
modifiedContent, err := process(fileContents, regex, luaScript)