mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-23 14:32:59 -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();
|
|
});
|