(script string, expectedResult Value, t *testing.T)
| 204 | } |
| 205 | |
| 206 | func (r *Runtime) testScriptWithTestLib(script string, expectedResult Value, t *testing.T) { |
| 207 | _, err := r.RunProgram(testLib()) |
| 208 | if err != nil { |
| 209 | t.Fatal(err) |
| 210 | } |
| 211 | |
| 212 | r.testScript(script, expectedResult, t) |
| 213 | } |
| 214 | |
| 215 | func (r *Runtime) testScriptWithTestLibX(script string, expectedResult Value, t *testing.T) { |
| 216 | _, err := r.RunProgram(testLib()) |
no test coverage detected