From 51aa5dfadca6b073023348c49f2dc8be816d9a9b Mon Sep 17 00:00:00 2001 From: Kimura Youichi Date: Sat, 5 May 2018 04:53:43 +0900 Subject: [PATCH] =?utf8?q?=E9=83=A8=E5=88=86=E6=96=87=E5=AD=97=E5=88=97?= =?utf8?q?=E3=81=AB=E5=AF=BE=E3=81=99=E3=82=8B=E3=82=A2=E3=82=B5=E3=83=BC?= =?utf8?q?=E3=82=B7=E3=83=A7=E3=83=B3=E3=82=92Assert.StartsWith=E3=81=A7?= =?utf8?q?=E8=A1=8C=E3=81=86=20(xUnit2009)?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- OpenTween.Tests/Connection/OAuthUtilityTest.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenTween.Tests/Connection/OAuthUtilityTest.cs b/OpenTween.Tests/Connection/OAuthUtilityTest.cs index 94b2b0d3..d26908da 100644 --- a/OpenTween.Tests/Connection/OAuthUtilityTest.cs +++ b/OpenTween.Tests/Connection/OAuthUtilityTest.cs @@ -112,7 +112,7 @@ namespace OpenTween.Connection "GET", new Uri("http://example.com/hoge"), new Dictionary { ["aaa"] = "hoge" }, "ConsumerKey", "ConsumerSecret", "AccessToken", "AccessSecret", "Realm"); - Assert.True(authorization.StartsWith("OAuth ", StringComparison.Ordinal)); + Assert.StartsWith("OAuth ", authorization, StringComparison.Ordinal); var parsedParams = authorization.Substring(6).Split(',') .Where(x => !string.IsNullOrEmpty(x)) -- 2.11.0