Skip to content

Commit

Permalink
Tweak test
Browse files Browse the repository at this point in the history
This isn't the case it was trying to test
  • Loading branch information
blowfishpro committed Sep 23, 2017
1 parent ac0a149 commit eb18b60
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions ModuleManagerTests/Extensions/ConfigNodeExtensionsTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ public void TestPrettyPrint__NullStringBuilder()
[Fact]
public void TestPrettyPrint__NullIndent()
{
ConfigNode node = new TestConfigNode()
ConfigNode node = new TestConfigNode("SOME_NODE")
{
{ "abc", "def" },
{ "ghi", "jkl" },
Expand All @@ -224,10 +224,8 @@ public void TestPrettyPrint__NullIndent()
},
};

node.name = null;

string expected = @"
<null>
SOME_NODE
{
abc = def
ghi = jkl
Expand Down

0 comments on commit eb18b60

Please sign in to comment.