(t *testing.T)
| 6 | ) |
| 7 | |
| 8 | func TestPushFStringPointer(t *testing.T) { |
| 9 | l := NewState() |
| 10 | l.PushFString("%p %s", l, "test") |
| 11 | |
| 12 | expected := fmt.Sprintf("%p %s", l, "test") |
| 13 | actual := CheckString(l, -1) |
| 14 | if expected != actual { |
| 15 | t.Errorf("PushFString, expected \"%s\" but found \"%s\"", expected, actual) |
| 16 | } |
| 17 | } |
| 18 | |
| 19 | func TestToBooleanOutOfRange(t *testing.T) { |
| 20 | l := NewState() |
nothing calls this directly
no test coverage detected