Skip to content

Commit 8a2ca33

Browse files
alcaeuskevinAlbs
andauthored
Apply suggestions from code review
Co-authored-by: Kevin Albertson <[email protected]>
1 parent 67e9ccc commit 8a2ca33

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/libmongoc/tests/test-mongoc-sample-commands.c

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3585,11 +3585,11 @@ _test_sample_versioned_api_example_1 (void)
35853585
* members in the URI string; e.g.
35863586
* uri_repl = "mongodb://mongodb0.example.com:27017,mongodb1.example.com:" \
35873587
* "27017/?replicaSet=myRepl";
3588-
* client = test_framework_client_new (uri_repl);
3588+
* client = mongoc_client_new (uri_repl);
35893589
* For a sharded cluster, connect to the mongos instances; e.g.
35903590
* uri_sharded =
35913591
* "mongodb://mongos0.example.com:27017,mongos1.example.com:27017/";
3592-
* client = test_framework_client_new (uri_sharded);
3592+
* client = mongoc_client_new (uri_sharded);
35933593
*/
35943594

35953595
client = get_client ();
@@ -3614,11 +3614,11 @@ _test_sample_versioned_api_example_2 (void)
36143614
* members in the URI string; e.g.
36153615
* uri_repl = "mongodb://mongodb0.example.com:27017,mongodb1.example.com:" \
36163616
* "27017/?replicaSet=myRepl";
3617-
* client = test_framework_client_new (uri_repl);
3617+
* client = mongoc_client_new (uri_repl);
36183618
* For a sharded cluster, connect to the mongos instances; e.g.
36193619
* uri_sharded =
36203620
* "mongodb://mongos0.example.com:27017,mongos1.example.com:27017/";
3621-
* client = test_framework_client_new (uri_sharded);
3621+
* client = mongoc_client_new (uri_sharded);
36223622
*/
36233623

36243624
client = get_client ();
@@ -3644,11 +3644,11 @@ _test_sample_versioned_api_example_3 (void)
36443644
* members in the URI string; e.g.
36453645
* uri_repl = "mongodb://mongodb0.example.com:27017,mongodb1.example.com:" \
36463646
* "27017/?replicaSet=myRepl";
3647-
* client = test_framework_client_new (uri_repl);
3647+
* client = mongoc_client_new (uri_repl);
36483648
* For a sharded cluster, connect to the mongos instances; e.g.
36493649
* uri_sharded =
36503650
* "mongodb://mongos0.example.com:27017,mongos1.example.com:27017/";
3651-
* client = test_framework_client_new (uri_sharded);
3651+
* client = mongoc_client_new (uri_sharded);
36523652
*/
36533653

36543654
client = get_client ();
@@ -3674,11 +3674,11 @@ _test_sample_versioned_api_example_4 (void)
36743674
* members in the URI string; e.g.
36753675
* uri_repl = "mongodb://mongodb0.example.com:27017,mongodb1.example.com:" \
36763676
* "27017/?replicaSet=myRepl";
3677-
* client = test_framework_client_new (uri_repl);
3677+
* client = mongoc_client_new (uri_repl);
36783678
* For a sharded cluster, connect to the mongos instances; e.g.
36793679
* uri_sharded =
36803680
* "mongodb://mongos0.example.com:27017,mongos1.example.com:27017/";
3681-
* client = test_framework_client_new (uri_sharded);
3681+
* client = mongoc_client_new (uri_sharded);
36823682
*/
36833683

36843684
client = get_client ();

0 commit comments

Comments
 (0)