File tree Expand file tree Collapse file tree 1 file changed +0
-29
lines changed
src/GitVersionCore.Tests/IntegrationTests Expand file tree Collapse file tree 1 file changed +0
-29
lines changed Original file line number Diff line number Diff line change @@ -551,8 +551,6 @@ public void FeatureFromReleaseBranch_ShouldNotResetCount()
551551 }
552552 }
553553
554- < << << << HEAD
555- = == == ==
556554 [ Test ]
557555 public void AssemblySemFileVerShouldBeWeightedByPreReleaseWeight ( )
558556 {
@@ -671,31 +669,4 @@ public void FeatureOnRelease_FeatureBranchNotDeleted()
671669 fixture . AssertFullSemver ( config , "4.5.0-beta.2" ) ;
672670 }
673671 }
674-
675- [ Test ]
676- public void AssemblySemFileVerShouldBeWeightedByPreReleaseWeight ( )
677- {
678- var config = new Config
679- {
680- AssemblyFileVersioningFormat = "{Major}.{Minor}.{Patch}.{WeightedPreReleaseNumber}" ,
681- Branches =
682- {
683- { "release" , new BranchConfig
684- {
685- PreReleaseWeight = 1000
686- }
687- }
688- }
689- } ;
690- using ( var fixture = new EmptyRepositoryFixture ( ) )
691- {
692- fixture . Repository . MakeATaggedCommit ( "1.0.3" ) ;
693- fixture . Repository . MakeCommits ( 5 ) ;
694- fixture . Repository . CreateBranch ( "release-2.0.0" ) ;
695- fixture . Checkout ( "release-2.0.0" ) ;
696- ConfigurationProvider . ApplyDefaultsTo ( config ) ;
697- var variables = fixture . GetVersion ( config ) ;
698- Assert . AreEqual ( variables . AssemblySemFileVer , "2.0.0.1001" ) ;
699- }
700- }
701672}
You can’t perform that action at this time.
0 commit comments