Skip to content

Commit 687ee87

Browse files
committed
Update PolyfillTests_Guid.cs
1 parent 028ce78 commit 687ee87

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Tests/PolyfillTests_Guid.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
partial class PolyfillTests
44
{
5-
private static readonly Regex GuidV7Regex = new("^[0-9a-f]{8}(?:\\-[0-9a-f]{4}){3}-[0-9a-f]{12}$");
5+
static Regex guidV7Regex = new("^[0-9a-f]{8}(?:\\-[0-9a-f]{4}){3}-[0-9a-f]{12}$");
66

77
[Test]
88
public void GuidCreate7()
99
{
1010
var guid = GuidPolyfill.CreateVersion7();
11-
Assert.IsTrue(GuidV7Regex.IsMatch(guid.ToString()));
11+
Assert.IsTrue(guidV7Regex.IsMatch(guid.ToString()));
1212
}
1313
}

0 commit comments

Comments
 (0)