From 1f0134505750d9b0da9419699ebd23faff2b5665 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Sun, 13 Feb 2022 18:00:45 +0100 Subject: [PATCH] Fix assertion due to toString change in Spring Framework --- .../boot/context/properties/bind/BindableTests.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/context/properties/bind/BindableTests.java b/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/context/properties/bind/BindableTests.java index 40ac2e6c7d..4fcebdf11c 100644 --- a/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/context/properties/bind/BindableTests.java +++ b/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/context/properties/bind/BindableTests.java @@ -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 bindable = Bindable.of(String.class).withExistingValue("foo").withAnnotations(annotation); assertThat(bindable.toString()) .contains("type = java.lang.String, value = 'provided', annotations = array[" - + "@org.springframework.boot.context.properties.bind.BindableTests$TestAnnotation()]"); + + "@org.springframework.boot.context.properties.bind.BindableTests.TestAnnotation()]"); } @Test