From db39fee91570d5a6039c135e66d237889650796f Mon Sep 17 00:00:00 2001 From: Philip Chimento <pchimento@igalia.com> Date: Wed, 30 Nov 2022 10:52:47 -0800 Subject: [PATCH] Fix name conflict in path of decorators test template This test template shared the same "path" as its sibling, cls-decl-decorators-valid-syntax.template. That meant that these two templates would race to generate the same test files with different contents. This prefixes the generated tests for class element decorators (as opposed to class decorators) with "class-element-". --- .../syntax/valid/cls-element-decorators-valid-syntax.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/decorator/syntax/valid/cls-element-decorators-valid-syntax.template b/src/decorator/syntax/valid/cls-element-decorators-valid-syntax.template index 6364cb8bcf..fca2375d86 100644 --- a/src/decorator/syntax/valid/cls-element-decorators-valid-syntax.template +++ b/src/decorator/syntax/valid/cls-element-decorators-valid-syntax.template @@ -4,7 +4,7 @@ /*--- esid: prod-ClassDeclaration name: Valid syntax for decorator on class. -path: language/statements/class/decorator/syntax/valid/ +path: language/statements/class/decorator/syntax/valid/class-element- info: | ClassElement[Yield, Await] : DecoratorList[?Yield, ?Await]opt MethodDefinition[?Yield, ?Await]