@@ -13,7 +13,6 @@ namespace Nuke.Common.Tests.Execution;
1313
1414public class DefaultInterfaceExecutionTest
1515{
16- public static string Description = "description" ;
1716 public static Action Action = ( ) => { } ;
1817 public static Expression < Func < bool > > Requirement = ( ) => true ;
1918 public static Func < bool > StaticCondition = ( ) => true ;
@@ -33,7 +32,7 @@ public void Test()
3332
3433 targets . Single ( x => x . IsDefault ) . Should ( ) . Be ( e ) ;
3534
36- a . Description . Should ( ) . Be ( Description ) ;
35+ a . Description . Should ( ) . Be ( " Description" ) ;
3736 a . DelegateRequirements . Should ( ) . Equal ( Requirement ) ;
3837 a . Actions . Should ( ) . Equal ( Action ) ;
3938 a . AllDependencies . Should ( ) . BeEmpty ( ) ;
@@ -189,14 +188,13 @@ private class OverriddenDuplicatedTargetTestBuild : NukeBuild, ITestBuild, IDupl
189188
190189 private interface ITestBuild
191190 {
192- public string Description => DefaultInterfaceExecutionTest . Description ;
193191 public Action Action => DefaultInterfaceExecutionTest . Action ;
194192 public Expression < Func < bool > > Requirement => DefaultInterfaceExecutionTest . Requirement ;
195193 public Func < bool > StaticCondition => DefaultInterfaceExecutionTest . StaticCondition ;
196194 public Func < bool > DynamicCondition => DefaultInterfaceExecutionTest . DynamicCondition ;
197195
196+ /// <summary>Description</summary>
198197 public Target A => _ => _
199- . Description ( Description )
200198 . Requires ( Requirement )
201199 . Executes ( Action ) ;
202200
0 commit comments