(node, text)
| 263 | |
| 264 | /* c8 ignore next */ |
| 265 | function assertRaw(node, text) { |
| 266 | if (!isNodeWithRaw(node)) { |
| 267 | return; |
| 268 | } |
| 269 | |
| 270 | const raw = node.type === "TemplateElement" ? node.value.raw : getRaw(node); |
| 271 | assert.equal(raw, text.slice(locStart(node), locEnd(node))); |
| 272 | } |
| 273 | |
| 274 | /** |
| 275 | @param {Node} node |