11using System ;
22using FluentAssertions ;
3- using Xunit ;
43
54namespace Serilog . Formatting . Log4Net . Tests ;
65
76public class IndentationSettingsTest
87{
9- [ Theory ]
10- [ InlineData ( Indentation . Space , 2 , " " ) ]
11- [ InlineData ( Indentation . Tab , 2 , "\t \t " ) ]
12- [ InlineData ( Indentation . Space , 4 , " " ) ]
13- [ InlineData ( Indentation . Tab , 4 , "\t \t \t \t " ) ]
8+ [ Test ]
9+ [ Arguments ( Indentation . Space , ( byte ) 2 , " " ) ]
10+ [ Arguments ( Indentation . Tab , ( byte ) 2 , "\t \t " ) ]
11+ [ Arguments ( Indentation . Space , ( byte ) 4 , " " ) ]
12+ [ Arguments ( Indentation . Tab , ( byte ) 4 , "\t \t \t \t " ) ]
1413 public void IndentationSettingsToString ( Indentation indentation , byte size , string expectedString )
1514 {
1615 // Arrange
@@ -23,7 +22,7 @@ public void IndentationSettingsToString(Indentation indentation, byte size, stri
2322 indentationString . Should ( ) . Be ( expectedString ) ;
2423 }
2524
26- [ Fact ]
25+ [ Test ]
2726 public void InvalidIndentation ( )
2827 {
2928 // Act
@@ -34,7 +33,7 @@ public void InvalidIndentation()
3433 . Which . Message . Should ( ) . StartWith ( "The value of argument 'indentation' (-1) is invalid for enum type 'Indentation'." ) ;
3534 }
3635
37- [ Fact ]
36+ [ Test ]
3837 public void InvalidSize ( )
3938 {
4039 // Act
0 commit comments