Skip to content

Commit c527347

Browse files
committed
Address comments
1 parent 4b02043 commit c527347

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/publisher.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class Publisher extends Entity {
7575

7676
/**
7777
* Get the number of subscriptions to this publisher.
78-
* @returns {number} The number of subscription
78+
* @returns {number} The number of subscriptions
7979
*/
8080
get subscriptionCount() {
8181
return rclnodejs.getSubscriptionCount(this._handle);

test/test-publisher.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ describe('rclnodejs publisher test suite', function () {
4444
rclnodejs.spin(node);
4545
});
4646

47-
it('Test count of subscription', function () {
47+
it('Test count of subscriptions', function () {
4848
const node = rclnodejs.createNode('publisher_node');
4949
const String = 'std_msgs/msg/String';
5050
const publisher = node.createPublisher(String, 'topic');

0 commit comments

Comments
 (0)