blob: 73494b2b9c27e4c41f4e0e336deb14460ab1d011 [file] [log] [blame]
// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/mac/auth_session_request.h"
#include "testing/gtest/include/gtest/gtest.h"
TEST(AuthSessionRequestTest, SchemeCanonicalization) {
EXPECT_EQ("abcdefg", AuthSessionRequest::CanonicalizeScheme("abcdefg"));
EXPECT_EQ("abcdefg", AuthSessionRequest::CanonicalizeScheme("aBcDeFg"));
EXPECT_EQ(absl::nullopt, AuthSessionRequest::CanonicalizeScheme("🥰"));
}