File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -157,21 +157,6 @@ public void InvalidLogEventLevelThrowsArgumentOutOfRangeException()
157
157
. And . Message . Should ( ) . StartWith ( "The value of argument 'level' (-1) is invalid for enum type 'LogEventLevel'." ) ;
158
158
}
159
159
160
- [ Fact ]
161
- public void InvalidLogEventLevelWithLog4JCompatibilityThrowsArgumentOutOfRangeException ( )
162
- {
163
- // Arrange
164
- var logEvent = CreateLogEvent ( ( LogEventLevel ) ( - 1 ) ) ;
165
- var formatter = new Log4NetTextFormatter ( c => c . UseLog4JCompatibility ( ) ) ;
166
-
167
- // Act
168
- Action action = ( ) => formatter . Format ( logEvent , TextWriter . Null ) ;
169
-
170
- // Assert
171
- action . Should ( ) . ThrowExactly < ArgumentOutOfRangeException > ( )
172
- . And . Message . Should ( ) . StartWith ( "The value of argument 'level' (-1) is invalid for enum type 'LogEventLevel'." ) ;
173
- }
174
-
175
160
[ Theory ]
176
161
[ InlineData ( CDataMode . Always , true ) ]
177
162
[ InlineData ( CDataMode . Always , false ) ]
You can’t perform that action at this time.
0 commit comments