Skip to content

Commit 6fb5fc2

Browse files
committed
Using base exception as it is used throughout the code base
1 parent e52cbec commit 6fb5fc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

GitVersionExe.Tests/GitPreparerTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ public void UsingDynamicRepositoryWithoutTargetBranchFails()
266266
var gitPreparer = new GitPreparer(arguments.TargetUrl, arguments.DynamicRepositoryLocation, arguments.Authentication, arguments.TargetBranch, arguments.NoFetch, arguments.TargetPath);
267267
gitPreparer.Initialise(true);
268268

269-
Assert.Throws<MissingBranchException>(() => gitPreparer.Initialise(true));
269+
Assert.Throws<Exception>(() => gitPreparer.Initialise(true));
270270
}
271271
}
272272
finally

0 commit comments

Comments
 (0)