Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp committed Feb 20, 2024
1 parent 8455f7e commit 199995b
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#if PolyPublic
public
#endif
static partial class PolyString
static partial class StringPolyfill
{
public static string Join(char separator, string[] values)
{
Expand Down
12 changes: 0 additions & 12 deletions src/Tests/PolyStringTests.cs

This file was deleted.

12 changes: 12 additions & 0 deletions src/Tests/StringPolyfillTests.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
// ReSharper disable PartialTypeWithSinglePart

[TestFixture]
partial class StringPolyfillTest
{
[Test]
public void Join()
{
Assert.AreEqual("bac", StringPolyfill.Join('a', new []{"b","c"}));
Assert.AreEqual("bac", StringPolyfill.Join('a', new object[]{"b","c"}));
}
}

0 comments on commit 199995b

Please sign in to comment.