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: * HORIZONTAL TAB (U+0009) may occur within strings michael@0: * michael@0: * @path ch07/7.2/S7.2_A2.1_T1.js michael@0: * @description Use HORIZONTAL TAB(\u0009 and \t) michael@0: */ michael@0: michael@0: // CHECK#1 michael@0: if (eval("'\u0009str\u0009ing\u0009'") !== "\u0009str\u0009ing\u0009") { michael@0: $ERROR('#1: eval("\'\\u0009str\\u0009ing\\u0009\'") === "\\u0009str\\u0009ing\\u0009"'); michael@0: } michael@0: michael@0: //CHECK#2 michael@0: if (eval("'\tstr\ting\t'") !== "\tstr\ting\t") { michael@0: $ERROR('#2: eval("\'\\tstr\\ting\\t\'") === "\\tstr\\ting\\t"'); michael@0: } michael@0: