(t *testing.T, a, b *luaClosure)
| 103 | } |
| 104 | |
| 105 | func compareClosures(t *testing.T, a, b *luaClosure) { |
| 106 | expectEqual(t, a.upValueCount(), b.upValueCount(), "upvalue count") |
| 107 | comparePrototypes(t, a.prototype, b.prototype) |
| 108 | } |
| 109 | |
| 110 | func comparePrototypes(t *testing.T, a, b *prototype) { |
| 111 | expectEqual(t, a.isVarArg, b.isVarArg, "var arg") |
no test coverage detected