mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
Add a test to verify that Atom Shell is Squirrel-aware
This commit is contained in:
@@ -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
BIN
test/fixtures/atom.exe
vendored
Normal file
Binary file not shown.
Reference in New Issue
Block a user