summaryrefslogtreecommitdiffstats
path: root/net/http/http_status_code_unittest.cc
blob: 962b89d3acf2e7e8769d2823a1fd77578caf92bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "net/http/http_status_code.h"

#include "testing/gtest/include/gtest/gtest.h"

namespace net {

namespace {

TEST(HttpStatusCode, OK) {
  EXPECT_EQ(200, HTTP_OK);
  EXPECT_STREQ("OK", GetHttpReasonPhrase(HTTP_OK));
}

}  // namespace

}  // namespace net