mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-01-10 15:02:06 -05:00
fix test
This commit is contained in:
parent
d5a8d10f01
commit
5a3e66469f
1 changed files with 1 additions and 1 deletions
|
@ -308,7 +308,7 @@ test('custom field types should be added to block and EXTENSION_FIELD_ADDED call
|
|||
|
||||
// We expect that for each argument there's a corresponding <field>-tag in the block XML
|
||||
Object.values(blockInfo.info.arguments).forEach(argument => {
|
||||
const regex = new RegExp(`<field name="field_ ${categoryInfo.id}_${argument.type}">`);
|
||||
const regex = new RegExp(`<field name="field_${categoryInfo.id}_${argument.type}">`);
|
||||
t.true(regex.test(blockInfo.xml));
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue