(l *State, t *testing.T, fileName string)
| 10 | ) |
| 11 | |
| 12 | func load(l *State, t *testing.T, fileName string) *luaClosure { |
| 13 | if err := LoadFile(l, fileName, "bt"); err != nil { |
| 14 | return nil |
| 15 | } |
| 16 | return l.ToValue(-1).(*luaClosure) |
| 17 | } |
| 18 | |
| 19 | func TestParser(t *testing.T) { |
| 20 | l := NewState() |
no test coverage detected