@@ -52,7 +52,7 @@ TEST_F(RestClientTest, TestRestClientDELETEFailureCode)
5252{
5353 std::string u = RestClient::TestNonExistantUrl;
5454 RestClient::Response res = RestClient::del (u);
55- // 6 = CURLE_COULDNT_RESOLVE_HOST
55+ // 6 = CURLE_COULDNT_RESOLVE_HOST
5656 EXPECT_EQ (6 , res.code );
5757}
5858
@@ -93,7 +93,7 @@ TEST_F(RestClientTest, TestRestClientGETFailureCode)
9393 std::string u = RestClient::TestNonExistantUrl;
9494 RestClient::Response res = RestClient::get (u);
9595 EXPECT_EQ (" Couldn't resolve host name" , res.body );
96- // 6 = CURLE_COULDNT_RESOLVE_HOST
96+ // 6 = CURLE_COULDNT_RESOLVE_HOST
9797 EXPECT_EQ (6 , res.code );
9898}
9999
@@ -127,7 +127,7 @@ TEST_F(RestClientTest, TestRestClientPOSTFailureCode)
127127{
128128 std::string u = RestClient::TestNonExistantUrl;
129129 RestClient::Response res = RestClient::post (u, " text/text" , " data" );
130- // 6 = CURLE_COULDNT_RESOLVE_HOST
130+ // 6 = CURLE_COULDNT_RESOLVE_HOST
131131 EXPECT_EQ (6 , res.code );
132132}
133133
@@ -161,7 +161,7 @@ TEST_F(RestClientTest, TestRestClientPUTFailureCode)
161161{
162162 std::string u = RestClient::TestNonExistantUrl;
163163 RestClient::Response res = RestClient::put (u, " text/text" , " data" );
164- // 6 = CURLE_COULDNT_RESOLVE_HOST
164+ // 6 = CURLE_COULDNT_RESOLVE_HOST
165165 EXPECT_EQ (6 , res.code );
166166}
167167
@@ -195,7 +195,7 @@ TEST_F(RestClientTest, TestRestClientPATCHFailureCode)
195195{
196196 std::string u = RestClient::TestNonExistantUrl;
197197 RestClient::Response res = RestClient::patch (u, " text/text" , " data" );
198- // 6 = CURLE_COULDNT_RESOLVE_HOST
198+ // 6 = CURLE_COULDNT_RESOLVE_HOST
199199 EXPECT_EQ (6 , res.code );
200200}
201201
@@ -220,7 +220,7 @@ TEST_F(RestClientTest, TestRestClientOPTIONSFailureCode)
220220{
221221 std::string u = RestClient::TestNonExistantUrl;
222222 RestClient::Response res = RestClient::options (u);
223- // 6 = CURLE_COULDNT_RESOLVE_HOST
223+ // 6 = CURLE_COULDNT_RESOLVE_HOST
224224 EXPECT_EQ (6 , res.code );
225225}
226226
0 commit comments