Just like SquirrelAwareApp only doesn't have the assembly attribute, and writes to args2.txt

This commit is contained in:
Paul Betts
2014-08-20 16:41:41 -07:00
parent af63bdbbb1
commit 71a22960fe
2 changed files with 10 additions and 0 deletions

View File

@@ -58,5 +58,15 @@ namespace Squirrel.Tests
Assert.NotNull(SquirrelAwareExecutableDetector.GetPESquirrelAwareVersion(target));
}
[Fact]
public void NotSquirrelAwareTestAppShouldNotBeSquirrelAware()
{
var target = IntegrationTestHelper.GetPath("fixtures", "NotSquirrelAwareApp.exe");
Assert.True(File.Exists(target));
Assert.Null(SquirrelAwareExecutableDetector.GetPESquirrelAwareVersion(target));
}
}
}

BIN
test/fixtures/NotSquirrelAwareApp.exe vendored Normal file

Binary file not shown.