Skip to content

Commit 2b0e03b

Browse files
authored
renames function file to match function (GoogleCloudPlatform#241)
1 parent 01f34c6 commit 2b0e03b

File tree

5 files changed

+16
-16
lines changed

5 files changed

+16
-16
lines changed

language/api/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"src/functions/analyze_sentiment_from_file.php",
2020
"src/functions/analyze_syntax.php",
2121
"src/functions/analyze_syntax_from_file.php",
22-
"src/functions/print_annotation.php"
22+
"src/functions/annotation_to_string.php"
2323
]
2424
}
2525
}

language/api/composer.lock

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

language/api/test/AllCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function setUp()
4848
$this->commandTester = new CommandTester($application->get('all'));
4949
$this->expectedPatterns = array(
5050
'/language: en/',
51-
'/sentiment: -*\d.\d/',
51+
'/sentiment: /',
5252
'/sentences:/',
5353
'/0: Do you know the way to San Jose\\?/',
5454
'/tokens:/',

language/api/test/SentimentCommandTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public function testSentiment()
5757
);
5858

5959
$output = $this->commandTester->getDisplay();
60-
$this->assertRegExp('/sentiment: -/', $output);
60+
$this->assertRegExp('/sentiment: /', $output);
6161
}
6262

6363
public function testSentimentFromStorageObject()
@@ -75,6 +75,6 @@ public function testSentimentFromStorageObject()
7575
);
7676

7777
$output = $this->commandTester->getDisplay();
78-
$this->assertRegExp('/sentiment: -/', $output);
78+
$this->assertRegExp('/sentiment: /', $output);
7979
}
8080
}

0 commit comments

Comments
 (0)