Roll src/third_party/WebKit d9c6159:8139f33 (svn 201974:201975)
[chromium-blink-merge.git] / ios / web / url_util_unittest.cc
blob5dbf63e6be99a6160355b6a398874a977d6d2c27
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.
5 #include "ios/web/public/url_util.h"
7 #include "testing/gtest/include/gtest/gtest.h"
9 namespace web {
11 TEST(URLUtilTest, GURLByRemovingRefFromGURL) {
12 GURL url("http://foo.com/bar#baz");
13 EXPECT_EQ(GURL("http://foo.com/bar"), GURLByRemovingRefFromGURL(url));
16 } // namespace web