From 982dc521506f4b00b9eeaaee09f45db5ba3028f2 Mon Sep 17 00:00:00 2001 From: Martin Wittlinger Date: Sat, 22 Jan 2022 17:16:49 +0100 Subject: [PATCH] refactor(UnicodeBugTest): The following has changed in the code: Replaced junit 4 test annotation with junit 5 test annotation in testUnicodeBug Transformed junit4 assert to junit 5 assertion in testUnicodeBug --- src/test/java/spoon/test/literal/UnicodeBugTest.java | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/test/java/spoon/test/literal/UnicodeBugTest.java b/src/test/java/spoon/test/literal/UnicodeBugTest.java index 75bb6ff46ec..a884d63016c 100644 --- a/src/test/java/spoon/test/literal/UnicodeBugTest.java +++ b/src/test/java/spoon/test/literal/UnicodeBugTest.java @@ -1,17 +1,18 @@ package spoon.test.literal; -import org.junit.Test; -import spoon.Launcher; -import spoon.processing.AbstractProcessor; -import spoon.reflect.CtModel; import spoon.reflect.code.CtBinaryOperator; import spoon.reflect.code.CtCodeElement; import spoon.reflect.code.CtLiteral; import spoon.reflect.declaration.CtField; +import spoon.Launcher; +import spoon.processing.AbstractProcessor; import spoon.reflect.visitor.filter.TypeFilter; +import spoon.reflect.CtModel; import spoon.support.compiler.VirtualFile; +import org.junit.jupiter.api.Test; + -import static org.junit.Assert.assertEquals; +import static org.junit.jupiter.api.Assertions.assertEquals; // bug case kindly provided by @Banbury // in https://github.com/INRIA/spoon/issues/3203