Add a test to verify that Atom Shell is Squirrel-aware

This commit is contained in:
Paul Betts
2014-09-26 17:12:00 -07:00
parent 27d5026460
commit 04a0ab3511
2 changed files with 9 additions and 0 deletions

View File

@@ -14,6 +14,15 @@ namespace Squirrel.Tests
{
public class SquirrelAwareExecutableDetectorTests
{
[Fact]
public void AtomShellShouldBeSquirrelAware()
{
var target = IntegrationTestHelper.GetPath("fixtures", "atom.exe");
Assert.True(File.Exists(target));
Assert.True(SquirrelAwareExecutableDetector.GetPESquirrelAwareVersion(target) == 1);
}
[Fact]
public void SquirrelAwareViaVersionBlock()
{

BIN
test/fixtures/atom.exe vendored Normal file

Binary file not shown.