mirror of https://github.com/tc39/test262.git
23 lines
803 B
JavaScript
23 lines
803 B
JavaScript
|
// Copyright (C) Copyright 2014 the V8 project authors. All rights reserved.
|
||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||
|
/*---
|
||
|
es6id: 11.8.6
|
||
|
description: >
|
||
|
The TV of TemplateCharacters :: TemplateCharacter TemplateCharacters is a
|
||
|
sequence consisting of the code units in the TV of TemplateCharacter
|
||
|
followed by all the code units in the TV of TemplateCharacters in order.
|
||
|
The TRV of TemplateCharacters :: TemplateCharacter TemplateCharacters is a
|
||
|
sequence consisting of the code units in the TRV of TemplateCharacter
|
||
|
followed by all the code units in the TRV of TemplateCharacters, in order.
|
||
|
---*/
|
||
|
|
||
|
var calls = 0;
|
||
|
|
||
|
(function(s) {
|
||
|
calls++;
|
||
|
assert.sameValue(s.raw[0], 'test');
|
||
|
})`test`;
|
||
|
|
||
|
assert.sameValue(calls, 1);
|
||
|
assert.sameValue(`test`, 'test');
|