Ejemplo n.º 1
0
        public void NextMinorVersion_ShouldIncreaseMinor()
        {
            var version = new SemanticVersion(1, 0, 1);

            Assert.Equal(new SemanticVersion(1, 1, 0), version.NextMinorVersion());
        }
Ejemplo n.º 2
0
        public void NextMinorVersion_ShouldRemovePrereleaseTag()
        {
            var version = new SemanticVersion(1, 0, 0, "test");

            Assert.Equal(new SemanticVersion(1, 0, 0), version.NextMinorVersion());
        }