Skip to content

Commit

Permalink
Fix warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
bartdesmet committed Sep 24, 2020
1 parent 535a07e commit 1b9b7f5
Showing 1 changed file with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
// The .NET Foundation licenses this file to you under the MIT License.
// See the LICENSE file in the project root for more information.

#nullable enable

using System;
using System.IO;
using System.Threading.Tasks;
Expand All @@ -13,9 +15,9 @@ namespace ReactiveTests.Tests
{
public static class DiffPlexReporter
{
public static async Task Report(string receivedFile, string verifiedFile, string? message)
public static Task Report(string receivedFile, string verifiedFile, string? message)
{
#if(!DEBUG)
#if (!DEBUG)
var receivedText = File.ReadAllText(receivedFile);
var verifiedText = File.ReadAllText(verifiedFile);
var diffBuilder = new InlineDiffBuilder(new Differ());
Expand All @@ -38,7 +40,9 @@ public static async Task Report(string receivedFile, string verifiedFile, string

Console.WriteLine("{0}{1}", prefix, line.Text);
}
#endif
#endif

return Task.CompletedTask;
}
}
}

0 comments on commit 1b9b7f5

Please sign in to comment.