Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/iranianpep/botonomous
Browse files Browse the repository at this point in the history
  • Loading branch information
iranianpep committed Jul 17, 2017
2 parents 2169cfe + a7a6f10 commit c2ad894
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/Botonomous/CommandContainer.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class CommandContainer extends AbstractCommandContainer
'description' => 'List all the available commands',
'keywords' => [
'help',
'ask'
'ask',
],
],
'qa' => [
Expand Down
10 changes: 5 additions & 5 deletions tests/Botonomous/utility/MessageUtilityTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -225,8 +225,8 @@ public function testKeywordCount()

$expected = [
'two words' => 2,
'word' => 1,
' plus' => 1,
'word' => 1,
' plus' => 1,
];

$this->assertEquals($expected, $result);
Expand All @@ -240,10 +240,10 @@ public function testKeywordCount()
], "What's the weather like tomorrow?");

$expected = [
"What's" => 1,
"What's" => 1,
'the weather' => 1,
'tomorrow' => 1,
' like ' => 1,
'tomorrow' => 1,
' like ' => 1,
];

$this->assertEquals($expected, $result);
Expand Down

0 comments on commit c2ad894

Please sign in to comment.