aboutsummaryrefslogtreecommitdiffstats
path: root/website/resources/scripts/testcases2/7.8.1_Null_Literals.json
blob: e660adccddd40c6d04a40c59d66f6fab88d5dfb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
 "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"
   }
  ]
 }
}