Created
March 18, 2021 13:12
-
-
Save okaminu/6e5c717dba532fc391b723c1f5ba0f45 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
class HelloWorldSpec extends Specification { | |
"The 'Hello world' string" should { | |
"contain 11 characters" should { | |
"Hello world" must have size(11) | |
} | |
"start with 'Hello'" should { | |
"Hello world" must startWith("Hello") | |
} | |
"end with 'world'" should { | |
"Hello world" must endWith("world") | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment