mirror of
https://gitee.com/dcren/initializr.git
synced 2025-12-19 19:47:08 +08:00
Fix assertion for GroovyDslGradleBuildAssert#hasProperty
Closes gh-1188
This commit is contained in:
@@ -82,7 +82,7 @@ public class GroovyDslGradleBuildAssert extends AbstractTextAssert<GroovyDslGrad
|
||||
* @return {@code this} assertion object
|
||||
*/
|
||||
public GroovyDslGradleBuildAssert hasProperty(String name, String value) {
|
||||
return contains(String.format("%s = '%s", name, value));
|
||||
return contains(String.format("%s = '%s'", name, value));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user