summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/String/raw/zero-literal-segments.js
blob: 5960e261209ae5f4f0e844f5a091a972fab948e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
// Copyright (C) 2014 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es6id: 21.1.2.4
description: >
    If literalSegments ≤ 0, return the empty string.
---*/

assert.sameValue(String.raw``, '');

reportCompare(0, 0);