test262/website/resources/scripts/testcases2/7.8.1_Null_Literals.json

21 lines
535 B
JSON
Raw Normal View History

{
"testCollection": {
"name": "7.8.1_Null_Literals",
"numTests": 2,
"tests": [
{
"section": "7.8.1",
"description": "Check null === null",
"test": "//CHECK#1\nif (null !== null) {\n $ERROR('#1: null === null');\n} \n",
"id": "S7.8.1_A1_T1"
},
{
"section": "7.8.1",
"description": "Check RegExp(\"0\").exec(\"1\") === null",
"test": "//CHECK#1\nif (RegExp(\"0\").exec(\"1\") !== null) {\n $ERROR('#1: RegExp(\"0\").exec(\"1\") === null');\n} \n \n",
"id": "S7.8.1_A1_T2"
}
]
}
}