]> source.dussan.org Git - aspectj.git/commitdiff
Update Java 21 string patterns tests after JDT Core bugfix
authorAlexander Kriegisch <Alexander@Kriegisch.name>
Mon, 12 Feb 2024 05:57:27 +0000 (12:57 +0700)
committerAlexander Kriegisch <Alexander@Kriegisch.name>
Mon, 12 Feb 2024 05:57:27 +0000 (12:57 +0700)
https://github.com/eclipse-jdt/eclipse.jdt.core/issues/1719 was fixed.
Change test to expect the correct strings for processed string pattern.

Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
tests/src/test/resources/org/aspectj/systemtest/ajc1921/ajc1921.xml

index a56eeaf174d5267be51c89d4161a02448b4a90f4..bac8a157650d062cded0aeb5fc3531fc50feb642 100644 (file)
                <compile files="StringPatternsPreview1.java" options="--enable-preview -21"/>
                <run class="StringPatternsPreview1" vmargs="--enable-preview">
                        <stdout ordered="yes">
-                               <!-- TODO: Due to https://github.com/eclipse-jdt/eclipse.jdt.core/issues/1719, this is currently rendered
-                                          incorrectly. After the upstream fix, change "\Bill \Duck" to "Bill Duck". -->
-                               <line text="\Bill \Duck"/>
+                               <line text="Bill Duck"/>
                                <line text="10 + 20 = 30"/>
                                <line text="You have a special New Year's sale discount waiting for you!"/>
                                <line text="Access at 2011-11-11 11:11:11 from localhost/127.0.0.1"/>
                <run class="StringPatternsPreview1Aspect" vmargs="--enable-preview">
                        <stdout ordered="yes">
                                <line text="execution(void StringPatternsPreview1Aspect.main(String[]))"/>
-                               <!-- TODO: Due to https://github.com/eclipse-jdt/eclipse.jdt.core/issues/1719, this is currently rendered
-                                          incorrectly. After the upstream fix, change "\Bill \Duck" to "Bill Duck". -->
-                               <line text="\Bill \Duck"/>
+                               <line text="Bill Duck"/>
                                <line text="10 + 20 = 30"/>
                                <line text="You have a special New Year's sale discount waiting for you!"/>
                                <line text="Access at 2011-11-11 11:11:11 from localhost/127.0.0.1"/>