1 // Copyright 2013 The Chromium Authors. All rights reserved. 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 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