Created
March 28, 2021 14:15
-
-
Save ultimate-qa2/27cc739fdc003338a5ef9f39673dd491 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Test | |
public void stringContains() { | |
String longString = "This is a long sentence that contains some words"; | |
String shortString = "some words"; | |
Assert.assertTrue(longString.contains(shortString)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment