mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Avoid using org.springframework.boot
This commit is contained in:
+2
-2
@@ -152,8 +152,8 @@ class SourceFileTests {
|
||||
package com.example;
|
||||
|
||||
public record RecordProperties(
|
||||
@org.springframework.boot.context.properties.bind.DefaultValue("default-value-1") String property1,
|
||||
@org.springframework.boot.context.properties.bind.DefaultValue("default-value-2") String property2) {
|
||||
@org.springframework.lang.NonNull("test") String property1,
|
||||
@org.springframework.lang.NonNull("test") String property2) {
|
||||
}
|
||||
""");
|
||||
assertThat(sourceFile.getClassName()).isEqualTo("com.example.RecordProperties");
|
||||
|
||||
Reference in New Issue
Block a user