Skip to content

Commit

Permalink
fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
cvietor committed Jul 17, 2017
1 parent f7ee99c commit 67decec
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
1 change: 0 additions & 1 deletion PathsToTree/PathsToTreeConverter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ private IList<string> GetChildPaths(IGrouping<string, string> rootPath)
result.Add(childPath);
}


return result;
}

Expand Down
2 changes: 1 addition & 1 deletion PathsToTree/PathsToTreeConverterTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public void Convert_Should_Have_Correct_Root_Count_With_MultiCharacter_Delimiter
{
DelimiterSymbol = "//"
};
var sut = new PathsToTreeConverter();
var sut = new PathsToTreeConverter(options);

var result = sut.Convert(paths);

Expand Down
5 changes: 2 additions & 3 deletions PathsToTree/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,10 @@ private static void Main()
"//subFolder2//subsubfolder1b"
};

var options = new PathsToTreeConverterOptions()
var converter = new PathsToTreeConverter(new PathsToTreeConverterOptions()
{
DelimiterSymbol = "//"
};
var converter = new PathsToTreeConverter(options);
});

var result = converter.Convert(paths);

Expand Down

0 comments on commit 67decec

Please sign in to comment.