Skip to content

Commit

Permalink
Clean, Change version to 2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
vinhch committed Sep 20, 2019
1 parent 236aa93 commit 9120503
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/BizwebSharp/BizwebSharp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard1.4;net45;net451;net452;net46;net461;net462</TargetFrameworks>
<VersionPrefix>2.0.0</VersionPrefix>
<VersionPrefix>2.0.1</VersionPrefix>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</PropertyGroup>

Expand Down
4 changes: 3 additions & 1 deletion src/BizwebSharp/Helper/HttpUtils.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
using System;
#if (!NETSTANDARD1_4)
using System;
#endif
using System.Net.Http;
using System.Threading.Tasks;
#if (NETSTANDARD2_0)
Expand Down
3 changes: 2 additions & 1 deletion test/BizwebSharp.ConsoleTests/Helper/Utils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,10 @@ private static string CleanifyBrowserPath(string p)
return clean;
}

public static async Task ConsoleWriteLineAsync(string text)
public static Task ConsoleWriteLineAsync(string text)
{
Console.WriteLine($"Console: {DateTime.Now:dd/MM/yyyy-HH:mm:ss} - {text}");
return Task.CompletedTask;
}
}
}
2 changes: 1 addition & 1 deletion test/BizwebSharp.Tests.xUnit/Helper/Utils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ public static async Task<HttpResponseMessage> UploadAsync(string toUrl, string f

public static async Task<FileIoResponse> UploadToFileIoAsync(string filePath)
{
var response = await UploadAsync("https://file.io/?expires=1d", filePath);
var response = await UploadAsync("https://file.io/?expires=1d", filePath, boundary: "----BizwebSharpTest");
var json = await response.Content.ReadAsStringAsync();
return JsonConvert.DeserializeObject<FileIoResponse>(json);
}
Expand Down
4 changes: 1 addition & 3 deletions test/BizwebSharp.Tests.xUnit/Helper_Tests.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using Newtonsoft.Json;
using System.Net;
using System.Threading.Tasks;
using System.Threading.Tasks;
using Xunit;

namespace BizwebSharp.Tests.xUnit
Expand Down

0 comments on commit 9120503

Please sign in to comment.