Debian Codegraph @

rhino/testsrc/tests/ecma_3/Unicode/uc-001-n.js

raw symbols SCIP
1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
2 *
3 * This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6
7 var gTestfile = 'uc-001-n.js';
8
9 test();
10
11 function test()
12 {
13 enterFunc ("test");
14
15 printStatus ("Unicode Characters 1C-1F negative test.");
16 printBugNumber (23612);
17
18 reportCompare ("error", eval ("'no'\u001C+' error'"),
19 "Unicode whitespace test (1C.)");
20 reportCompare ("error", eval ("'no'\u001D+' error'"),
21 "Unicode whitespace test (1D.)");
22 reportCompare ("error", eval ("'no'\u001E+' error'"),
23 "Unicode whitespace test (1E.)");
24 reportCompare ("error", eval ("'no'\u001F+' error'"),
25 "Unicode whitespace test (1F.)");
26
27 exitFunc ("test");
28 }