diff --git a/src/Sake.Engine.Tests/Files/EmptyFile/EmptySakefile.shade b/src/Sake.Engine.Tests/Files/EmptyFile/EmptySakefile.shade new file mode 100644 index 0000000..5f28270 --- /dev/null +++ b/src/Sake.Engine.Tests/Files/EmptyFile/EmptySakefile.shade @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/Sake.Engine.Tests/Sake.Engine.Tests.csproj b/src/Sake.Engine.Tests/Sake.Engine.Tests.csproj index 4c65070..8ee3ad7 100644 --- a/src/Sake.Engine.Tests/Sake.Engine.Tests.csproj +++ b/src/Sake.Engine.Tests/Sake.Engine.Tests.csproj @@ -67,6 +67,9 @@ Always + + Always + Always diff --git a/src/Sake.Engine.Tests/SakeEngineTests.cs b/src/Sake.Engine.Tests/SakeEngineTests.cs index f77f850..a664281 100644 --- a/src/Sake.Engine.Tests/SakeEngineTests.cs +++ b/src/Sake.Engine.Tests/SakeEngineTests.cs @@ -92,5 +92,11 @@ public void ShouldUseSingleShadeFileAsDefault() Output.ShouldContain("NotThisOne"); Output.ShouldContain("OrThisOne"); } + + [Fact] + public void ShouldBeAbleToLoadEmptyFile() + { + _engine.Execute("-C", "Files", "-C", "EmptyFile"); + } } }