test262/test/built-ins/encodeURIComponent/S15.1.3.4_A3.3_T1.js

13 lines
373 B
JavaScript

// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
info: unescapedURIComponentSet not containing "#"
es5id: 15.1.3.4_A3.3_T1
description: encodeURIComponent("#") === "%23"
---*/
if (encodeURIComponent("#") !== "%23") {
$ERROR('#1: unescapedURIComponentSet not containing "%23"');
}