Sha256: c332093ead0c47b6cd9c78508eb74f69c03937835f91574272b745718e55da39
Contents?: true
Size: 295 Bytes
Versions: 5
Compression:
Stored size: 295 Bytes
Contents
#include "tests.h" BEGIN_TEST(testIntString_bug515273) { jsvalRoot v(cx); EVAL("'42';", v.addr()); JSString *str = JSVAL_TO_STRING(v.value()); const char *bytes = JS_GetStringBytes(str); CHECK(strcmp(bytes, "42") == 0); return true; } END_TEST(testIntString_bug515273)
Version data entries
5 entries across 5 versions & 3 rubygems