@@ -13,7 +13,7 @@ import (
1313
1414// tableToString converts a Lua table (assumed to be an array of strings)
1515// into a single string with each element separated by a newline.
16- func tableToString (L * lua.LState , tbl * lua.LTable ) string {
16+ func tableToString (_ * lua.LState , tbl * lua.LTable ) string {
1717 var lines []string
1818 n := tbl .Len ()
1919 for i := 1 ; i <= n ; i ++ {
@@ -85,7 +85,7 @@ func TestRun3System(t *testing.T) {
8585 })
8686
8787 // Test a failing command. This should return exit code 42.
88- testRun3Command (t , L , "exit 42" , func (stdout , stderr string , exitCode int ) {
88+ testRun3Command (t , L , "exit 42" , func (_ , _ string , exitCode int ) {
8989 if exitCode != 42 {
9090 t .Errorf ("Expected exit code 42 for command 'exit 42', got %d" , exitCode )
9191 }
@@ -164,7 +164,7 @@ func TestRun3Web(t *testing.T) {
164164 })
165165
166166 // Test a failing command.
167- testRun3Command (t , L , "exit 42" , func (stdout , stderr string , exitCode int ) {
167+ testRun3Command (t , L , "exit 42" , func (_ , _ string , exitCode int ) {
168168 if exitCode != 42 {
169169 t .Errorf ("Expected exit code 42 for command 'exit 42' in web context, got %d" , exitCode )
170170 }
0 commit comments