New: Add Extra Audio Format Unit Test

This commit is contained in:
Qstick
2017-10-29 00:16:47 -04:00
parent b34c1e5332
commit f219e883ec
4 changed files with 42 additions and 9 deletions
@@ -1,4 +1,5 @@
using System;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
@@ -63,7 +64,12 @@ namespace NzbDrone.Common.Extensions
return text;
}
public static string CleanSpaces(this string text)
public static string Join(this IEnumerable<string> values, string separator)
{
return string.Join(separator, values);
}
public static string CleanSpaces(this string text)
{
return CollapseSpace.Replace(text, " ").Trim();
}
@@ -128,4 +134,4 @@ namespace NzbDrone.Common.Extensions
return Encoding.ASCII.GetString(new [] { byteResult });
}
}
}
}