@@ -26,12 +26,12 @@ public void IsGithubActionsTest()
2626 if ( githubActions is null ) {
2727 Assert . That ( TestInfo . IsGithubActions , Is . False ) ;
2828
29- var githbuActionsNoIgnore = Environment . GetEnvironmentVariable ( "GA_NO_IGNORE" ) ;
30- Console . WriteLine ( $ "GA_NO_IGNORE : { githbuActionsNoIgnore } ; NoIgnoreOnGithubActions : { TestInfo . NoIgnoreOnGithubActions } ") ;
31- if ( githbuActionsNoIgnore is null )
32- Assert . That ( TestInfo . NoIgnoreOnGithubActions ) ;
29+ var githubActionsNoIgnore = Environment . GetEnvironmentVariable ( "GA_NO_IGNORE" ) ;
30+ Console . WriteLine ( $ "GA_NO_IGNORE : { githubActionsNoIgnore } ; NoIgnoreOnGithubActions : { TestInfo . NoIgnoreOnGithubActions } ") ;
31+ if ( githubActionsNoIgnore is null )
32+ Assert . That ( TestInfo . NoIgnoreOnGithubActions , Is . False ) ;
3333 else
34- Assert . That ( TestInfo . NoIgnoreOnGithubActions ) ;
34+ Assert . That ( TestInfo . NoIgnoreOnGithubActions , Is . EqualTo ( githubActionsNoIgnore . Equals ( "true" , StringComparison . OrdinalIgnoreCase ) ) ) ;
3535 }
3636 else {
3737 Assert . That ( TestInfo . IsGithubActions , Is . True ) ;
@@ -45,13 +45,13 @@ public void IsGithubActionsTest()
4545 Assert . That ( TestInfo . GithubActionTrigger . HasValue , Is . True ) ;
4646 }
4747
48- var githbuActionsNoIgnore = Environment . GetEnvironmentVariable ( "GA_NO_IGNORE" ) ;
49- Console . WriteLine ( $ "GA_NO_IGNORE : { githbuActionsNoIgnore } ; NoIgnoreOnGithubActions : { TestInfo . NoIgnoreOnGithubActions } ") ;
50- if ( githbuActionsNoIgnore is null ) {
48+ var githubActionsNoIgnore = Environment . GetEnvironmentVariable ( "GA_NO_IGNORE" ) ;
49+ Console . WriteLine ( $ "GA_NO_IGNORE : { githubActionsNoIgnore } ; NoIgnoreOnGithubActions : { TestInfo . NoIgnoreOnGithubActions } ") ;
50+ if ( githubActionsNoIgnore is null ) {
5151 Assert . That ( TestInfo . NoIgnoreOnGithubActions , Is . False ) ;
5252 }
5353 else {
54- Assert . That ( TestInfo . NoIgnoreOnGithubActions , Is . EqualTo ( githbuActionsNoIgnore . Equals ( "true" , StringComparison . OrdinalIgnoreCase ) ) ) ;
54+ Assert . That ( TestInfo . NoIgnoreOnGithubActions , Is . EqualTo ( githubActionsNoIgnore . Equals ( "true" , StringComparison . OrdinalIgnoreCase ) ) ) ;
5555 }
5656 }
5757 }
0 commit comments