javax0.jamal.assertions.AssertEndsWith Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jamal-assertions Show documentation
Show all versions of jamal-assertions Show documentation
Assertions module for Jamal
package javax0.jamal.assertions;
public class AssertEndsWith extends AbstractAssert {
public AssertEndsWith() {
super(3,"'%s' does not end with '%s'", "'%s' ends with '%s'");
}
protected boolean test(String[] parts) {
return parts[0].endsWith(parts[1]);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy