aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/test
diff options
context:
space:
mode:
authorAlexander Kriegisch <Alexander@Kriegisch.name>2024-02-12 12:57:27 +0700
committerAlexander Kriegisch <Alexander@Kriegisch.name>2024-02-12 12:57:27 +0700
commit1287b1b258ca4352e8a866bf11fcad542ee9baad (patch)
tree1e0a213cd2bb7ce589b31683e8cf0e08c8c7944d /tests/src/test
parent3c2458afda4e40949b4ece5df084488e31f41fde (diff)
downloadaspectj-1287b1b258ca4352e8a866bf11fcad542ee9baad.tar.gz
aspectj-1287b1b258ca4352e8a866bf11fcad542ee9baad.zip
Update Java 21 string patterns tests after JDT Core bugfix
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>
Diffstat (limited to 'tests/src/test')
-rw-r--r--tests/src/test/resources/org/aspectj/systemtest/ajc1921/ajc1921.xml8
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/src/test/resources/org/aspectj/systemtest/ajc1921/ajc1921.xml b/tests/src/test/resources/org/aspectj/systemtest/ajc1921/ajc1921.xml
index a56eeaf17..bac8a1576 100644
--- a/tests/src/test/resources/org/aspectj/systemtest/ajc1921/ajc1921.xml
+++ b/tests/src/test/resources/org/aspectj/systemtest/ajc1921/ajc1921.xml
@@ -193,9 +193,7 @@
<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"/>
@@ -229,9 +227,7 @@
<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"/>