zijianhuang / webapiclientgen

Strongly Typed Client API Generators generate strongly typed client APIs in C# .NET and in TypeScript for jQuery and Angular 2+ from ASP.NET Web API and .NET Core Web API
MIT License
168 stars 38 forks source link

review test case TestGetEmptyString #43

Closed zijianhuang closed 6 years ago

zijianhuang commented 6 years ago
        [Fact]
        public void TestGetEmptyString()
        {
            //     Assert.Equal(String.Empty, api.GetEmptyString());//todo: .net core returns a null. Apparently this is a bug of .net core
            Assert.Null(api.GetEmptyString());
        }
zijianhuang commented 6 years ago

it is .net core behavior. Get over it.