(t *testing.T)
| 153 | } |
| 154 | |
| 155 | func TestTableRawSetH(t *testing.T) { |
| 156 | tbl := newLTable(0, 0) |
| 157 | tbl.RawSetH(LString("key"), LTrue) |
| 158 | tbl.RawSetH(LString("key"), LNil) |
| 159 | _, found := tbl.dict[LString("key")] |
| 160 | errorIfNotEqual(t, false, found) |
| 161 | |
| 162 | tbl.RawSetH(LTrue, LTrue) |
| 163 | tbl.RawSetH(LTrue, LNil) |
| 164 | _, foundb := tbl.dict[LTrue] |
| 165 | errorIfNotEqual(t, false, foundb) |
| 166 | } |
| 167 | |
| 168 | func TestTableRawGetH(t *testing.T) { |
| 169 | tbl := newLTable(0, 0) |
nothing calls this directly
no test coverage detected
searching dependent graphs…