Skip to content
This repository was archived by the owner on Jun 5, 2019. It is now read-only.

Commit fd43a48

Browse files
committed
Fix tests for StringBuilder
1 parent 690d871 commit fd43a48

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Test/Platform/Tests/CLR/System/Text/StringBuilder/StringBuilderTests.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,7 @@ public MFTestResults Test_1_RemoveTest_0()
129129

130130
bool result = false;
131131

132-
//result = stringBuilder.Clear().ToString() == string.Empty;
133-
result = stringBuilder.Clear().ToString() == null;
132+
result = stringBuilder.Clear().ToString() == string.Empty;
134133

135134
if (!result)
136135
{
@@ -429,8 +428,7 @@ public MFTestResults Test_4_CapacityTest_0()
429428

430429
bool result = false;
431430

432-
//result = stringBuilder.ToString() == string.Empty;
433-
result = stringBuilder.ToString() == null;
431+
result = stringBuilder.ToString() == string.Empty;
434432

435433
if (!result)
436434
{

0 commit comments

Comments
 (0)