diff --git a/language/api/test/AllCommandTest.php b/language/api/test/AllCommandTest.php index 5003b59daa..e27a69f67d 100644 --- a/language/api/test/AllCommandTest.php +++ b/language/api/test/AllCommandTest.php @@ -48,7 +48,7 @@ public function setUp() $this->commandTester = new CommandTester($application->get('all')); $this->expectedPatterns = array( '/language: en/', - '/sentiment: /', + '/sentiment/', '/sentences:/', '/0: Do you know the way to San Jose\\?/', '/tokens:/', diff --git a/language/api/test/SentimentCommandTest.php b/language/api/test/SentimentCommandTest.php index e5049a8d38..dc6cd5dd3f 100644 --- a/language/api/test/SentimentCommandTest.php +++ b/language/api/test/SentimentCommandTest.php @@ -75,6 +75,6 @@ public function testSentimentFromStorageObject() ); $output = $this->commandTester->getDisplay(); - $this->assertRegExp('/sentiment: /', $output); + $this->assertRegExp('/sentiment/', $output); } }