public function testTextIncrementStringWithSpace() { $this->specify("increment does not increment a string with a space at the end", function () { $source = 'file '; $expected = 'file _1'; $actual = Text::increment($source); expect($actual)->equals($expected); }); }