Skip to content

Commit e9a38ca

Browse files
committed
Rename a few tests and remove TODOs
1 parent e9d80cf commit e9a38ca

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

BencodeNET.Tests/Parsing/BNumberParserTests.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
namespace BencodeNET.Tests.Parsing
99
{
10-
// TODO: Test parsing string, stream and bencodestream
1110
public class BNumberParserTests
1211
{
1312
private BNumberParser Parser { get; }

BencodeNET.Tests/Parsing/BStringParserTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
using System;
2+
using System.Text;
23
using BencodeNET.Exceptions;
34
using BencodeNET.Objects;
45
using BencodeNET.Parsing;
@@ -7,7 +8,6 @@
78

89
namespace 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);

0 commit comments

Comments
 (0)