michael@0: // Copyright 2009 the Sputnik authors. All rights reserved. michael@0: // This code is governed by the BSD license found in the LICENSE file. michael@0: michael@0: /** michael@0: * VERTICAL TAB (U+000B) may occur within strings michael@0: * michael@0: * @path ch07/7.2/S7.2_A2.2_T1.js michael@0: * @description Use VERTICAL TAB(\u000B and \v) michael@0: */ michael@0: michael@0: // CHECK#1 michael@0: if (eval("'\u000Bstr\u000Bing\u000B'") !== "\u000Bstr\u000Bing\u000B") { michael@0: $ERROR('#1: eval("\'\\u000Bstr\\u000Bing\\u000B\'") === "\\u000Bstr\\u000Bing\\u000B"'); michael@0: } michael@0: michael@0: //CHECK#2 michael@0: if (eval("'\vstr\ving\v'") !== "\vstr\ving\v") { michael@0: $ERROR('#2: eval("\'\\vstr\\ving\\v\'") === "\\vstr\\ving\\v"'); michael@0: } michael@0: