Fix the god damn shorthands
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user