| 3127 | } |
| 3128 | |
| 3129 | inline void ok(bool isOk, const char *msg = NULL) { |
| 3130 | HandleScope scope; |
| 3131 | v8::Local<v8::Value> args[2]; |
| 3132 | args[0] = New(isOk); |
| 3133 | if (msg) args[1] = New(msg).ToLocalChecked(); |
| 3134 | Call("ok", New(t_), msg ? 2 : 1, args); |
| 3135 | } |
| 3136 | |
| 3137 | inline void pass(const char * msg = NULL) { |
| 3138 | HandleScope scope; |
nothing calls this directly
no test coverage detected