Skip to content

Commit

Permalink
Merge pull request #39440 from amritagg
Browse files Browse the repository at this point in the history
* pr/39940:
  Fix typo in TestcontainersPropertySource assertion

Closes gh-39440
  • Loading branch information
scottfrederick committed Feb 7, 2024
2 parents 1fcddff + 67ba829 commit 004282f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2012-2023 the original author or authors.
* Copyright 2012-2024 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.
Expand Down Expand Up @@ -86,7 +86,7 @@ private static DynamicPropertyRegistry attach(ConfigurableEnvironment environmen
return attach(environment);
}
Assert.state(propertySource instanceof TestcontainersPropertySource,
"Incorrect DynamicValuesPropertySource type registered");
"Incorrect TestcontainersPropertySource type registered");
return ((TestcontainersPropertySource) propertySource).registry;
}

Expand Down

0 comments on commit 004282f

Please sign in to comment.