File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 77
88namespace BencodeNET . Tests . Parsing
99{
10- // TODO: Test parsing string, stream and bencodestream
1110 public class BNumberParserTests
1211 {
1312 private BNumberParser Parser { get ; }
Original file line number Diff line number Diff line change 11using System ;
2+ using System . Text ;
23using BencodeNET . Exceptions ;
34using BencodeNET . Objects ;
45using BencodeNET . Parsing ;
78
89namespace BencodeNET . Tests . Parsing
910{
10- // TODO: Other encoding tests
1111 public class BStringParserTests
1212 {
1313 private BStringParser Parser { get ; }
@@ -121,15 +121,15 @@ public void LengthAtOrBelowMaxDigits10_DoesNotThrowUnsupportedException(string b
121121 }
122122
123123 [ Fact ]
124- public void LengthAboveInt32MaxValue_ShouldThrowUnsupportedException ( )
124+ public void LengthAboveInt32MaxValue_ThrowsUnsupportedException ( )
125125 {
126126 var bencode = "2147483648:spam" ;
127127 Action action = ( ) => Parser . ParseString ( bencode ) ;
128128 action . ShouldThrow < UnsupportedBencodeException < BString > > ( ) ;
129129 }
130130
131131 [ Fact ]
132- public void LengthBelowInt32MaxValue_ShouldNotThrowUnsupportedException ( )
132+ public void LengthBelowInt32MaxValue_DoesNotThrowUnsupportedException ( )
133133 {
134134 var bencode = "2147483647:spam" ;
135135 Action action = ( ) => Parser . ParseString ( bencode ) ;
You can’t perform that action at this time.
0 commit comments