mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-24 06:52:40 -05:00
bafdf8d9f2
Update all tests for `no-var` and `prefer-arrow-callback` (using `--fix`)
9 lines
296 B
JavaScript
9 lines
296 B
JavaScript
const test = require('tap').test;
|
|
const xml = require('../../src/util/xml-escape');
|
|
|
|
test('escape', t => {
|
|
const input = '<foo bar="he & llo \'"></foo>';
|
|
const output = '<foo bar="he & llo '"></foo>';
|
|
t.strictEqual(xml(input), output);
|
|
t.end();
|
|
});
|