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
package linecount | |
import org.scalatest._ | |
import matchers.ShouldMatchers | |
class LineCountTest extends FlatSpec with ShouldMatchers { | |
"the Linecounter" should "think an empty string has zero lines" in { | |
countLinesIn("") should equal(0) | |
} |