File tree Expand file tree Collapse file tree 1 file changed +14
-3
lines changed
src/GitVersion.Core.Tests/VersionConverters Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -40,16 +40,28 @@ public void Setup()
4040 </PropertyGroup>
4141</Project>
4242" ) ]
43+ [ Category ( NoMono ) ]
44+ [ Description ( NoMonoDescription ) ]
45+ public void CanUpdateProjectFileWithStandardProjectFileXml ( string xml )
46+ {
47+ using var projectFileUpdater = new ProjectFileUpdater ( log , fileSystem ) ;
48+
49+ var canUpdate = projectFileUpdater . CanUpdateProjectFile ( XElement . Parse ( xml ) ) ;
50+
51+ canUpdate . ShouldBe ( true ) ;
52+ }
53+
4354 [ TestCase ( @"
4455<Project Sdk=""Microsoft.NET.Sdk.Worker"">
4556 <PropertyGroup>
46- <TargetFramework>net5.0</TargetFramework>
57+ <OutputType>Exe</OutputType>
58+ <TargetFramework>netcoreapp3.1</TargetFramework>
4759 </PropertyGroup>
4860</Project>
4961" ) ]
5062 [ Category ( NoMono ) ]
5163 [ Description ( NoMonoDescription ) ]
52- public void CanUpdateProjectFileWithStandardProjectFileXml ( string xml )
64+ public void CanUpdateProjectFileWithStandardWorkerProjectFileXml ( string xml )
5365 {
5466 using var projectFileUpdater = new ProjectFileUpdater ( log , fileSystem ) ;
5567
@@ -292,7 +304,6 @@ public void UpdateProjectXmlVersionElementWithDuplicatePropertyGroupsModifiesLas
292304 </PropertyGroup>
293305</Project>"
294306 ) ]
295-
296307 [ Category ( NoMono ) ]
297308 [ Description ( NoMonoDescription ) ]
298309 public void UpdateProjectXmlVersionElementWithMultipleVersionElementsLastOneIsModified ( string xml )
You can’t perform that action at this time.
0 commit comments