Skip to content

Commit

Permalink
Force generation of assets
Browse files Browse the repository at this point in the history
  • Loading branch information
sungaila committed Dec 28, 2023
1 parent 869f9df commit 28f9d17
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Tests/ComparisonTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
using System.Threading.Tasks;
using static PDFtoImage.Conversion;
using static PDFtoImage.Tests.TestUtils;
[assembly: Parallelize(Scope = ExecutionScope.MethodLevel)]
//[assembly: Parallelize(Scope = ExecutionScope.MethodLevel)]

namespace Tests
{
Expand Down
2 changes: 1 addition & 1 deletion src/Tests/TestUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public static FileStream GetExpectedStream(string filePath)

public static Stream CreateOutputStream(string expectedPath)
{
if (!TestBase.SaveOutputInGeneratedFolder)
if (false)
return new MemoryStream();

Check warning on line 75 in src/Tests/TestUtils.cs

View workflow job for this annotation

GitHub Actions / Build

Unreachable code detected

Check warning on line 75 in src/Tests/TestUtils.cs

View workflow job for this annotation

GitHub Actions / Build

Unreachable code detected

Check warning on line 75 in src/Tests/TestUtils.cs

View workflow job for this annotation

GitHub Actions / Build

Unreachable code detected

Check warning on line 75 in src/Tests/TestUtils.cs

View workflow job for this annotation

GitHub Actions / Build

Unreachable code detected

Check warning on line 75 in src/Tests/TestUtils.cs

View workflow job for this annotation

GitHub Actions / Build

Unreachable code detected

var outputPath = expectedPath.Replace("Expected", "Generated");
Expand Down

0 comments on commit 28f9d17

Please sign in to comment.