xref: /aosp_15_r20/external/cronet/net/http/http_status_code_unittest.cc (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
1 // Copyright 2013 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #include "net/http/http_status_code.h"
6 
7 #include "testing/gtest/include/gtest/gtest.h"
8 
9 namespace net {
10 
11 namespace {
12 
TEST(HttpStatusCode,OK)13 TEST(HttpStatusCode, OK) {
14   EXPECT_EQ(200, HTTP_OK);
15   EXPECT_STREQ("OK", GetHttpReasonPhrase(HTTP_OK));
16 }
17 
18 }  // namespace
19 
20 }  // namespace net
21