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"
11 TEST(URLUtilTest
, GURLByRemovingRefFromGURL
) {
12 GURL
url("http://foo.com/bar#baz");
13 EXPECT_EQ(GURL("http://foo.com/bar"), GURLByRemovingRefFromGURL(url
));