From 38ba7c6793849458aceb4244d4da42e5349078c0 Mon Sep 17 00:00:00 2001 From: Victor Guerra Veloso Date: Tue, 13 Feb 2024 01:15:39 -0500 Subject: [PATCH] Rename parameter of generated test --- .../test/TestParameterizeTestRefactoring.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/org/refactoringminer/test/TestParameterizeTestRefactoring.java b/src/test/java/org/refactoringminer/test/TestParameterizeTestRefactoring.java index 99bdafc7f3..b2891effcb 100644 --- a/src/test/java/org/refactoringminer/test/TestParameterizeTestRefactoring.java +++ b/src/test/java/org/refactoringminer/test/TestParameterizeTestRefactoring.java @@ -166,8 +166,8 @@ private static Collection testParameterizeTest() { .parameterize() .annotate("@NullSource") .annotate("@EnumSource(value=TestEnum.class,names={\"TEST1\"})") - .parameter("TestEnum te") - .statement("assertThrows(NullPointerException.class,()->te.number());") + .parameter("TestEnum en") + .statement("assertThrows(NullPointerException.class,()->en.number());") .build()), Set.of("."), repeat(RefactoringType.PARAMETERIZE_TEST, 1)));