mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Fix assertion due to toString change in Spring Framework
This commit is contained in:
parent
387795d4db
commit
1f01345057
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2021 the original author or authors.
|
||||
* Copyright 2012-2022 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@ -146,7 +146,7 @@ class BindableTests {
|
||||
Bindable<String> bindable = Bindable.of(String.class).withExistingValue("foo").withAnnotations(annotation);
|
||||
assertThat(bindable.toString())
|
||||
.contains("type = java.lang.String, value = 'provided', annotations = array<Annotation>["
|
||||
+ "@org.springframework.boot.context.properties.bind.BindableTests$TestAnnotation()]");
|
||||
+ "@org.springframework.boot.context.properties.bind.BindableTests.TestAnnotation()]");
|
||||
}
|
||||
|
||||
@Test
|
||||
|
Loading…
Reference in New Issue
Block a user