Skip to content

Commit ea6d9f3

Browse files
committed
Merge branch '2.1.x'
Closes gh-18298
2 parents 451703f + 0efee9e commit ea6d9f3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/quartz/QuartzDataSourceInitializerTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ void doubleDashIsUsedAsACommentPrefixByDefault() {
6565
@Test
6666
void commentPrefixCanBeCustomized() {
6767
this.contextRunner.withUserConfiguration(TestConfiguration.class).withPropertyValues(
68-
"spring.quartz.jdbc.comment-prefix=##",
69-
"spring.quartz.jdbc.schema=classpath:org/springframework/boot/autoconfigure/quartz/tables_@@platform@@.sql")
68+
"spring.quartz.jdbc.comment-prefix=**",
69+
"spring.quartz.jdbc.schema=classpath:org/springframework/boot/autoconfigure/quartz/tables_**_comments.sql")
7070
.run(this::assertThatDataSourceHasBeenInitialized);
7171
}
7272

Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
## This is a test script to check custom comment prefix is taken into account
1+
** This is a test script to check ** is treated as a comment prefix when prefix is customized
22

33
CREATE TABLE QRTZ_TEST_TABLE (
44
SCHED_NAME VARCHAR(120) NOT NULL,
55
CALENDAR_NAME VARCHAR (200) NOT NULL
66
);
77

8-
## Another comment
8+
** Another comment
99

1010
COMMIT;

0 commit comments

Comments
 (0)