We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 028ce78 commit 687ee87Copy full SHA for 687ee87
src/Tests/PolyfillTests_Guid.cs
@@ -2,12 +2,12 @@
2
3
partial class PolyfillTests
4
{
5
- private static readonly Regex GuidV7Regex = new("^[0-9a-f]{8}(?:\\-[0-9a-f]{4}){3}-[0-9a-f]{12}$");
+ static Regex guidV7Regex = new("^[0-9a-f]{8}(?:\\-[0-9a-f]{4}){3}-[0-9a-f]{12}$");
6
7
[Test]
8
public void GuidCreate7()
9
10
var guid = GuidPolyfill.CreateVersion7();
11
- Assert.IsTrue(GuidV7Regex.IsMatch(guid.ToString()));
+ Assert.IsTrue(guidV7Regex.IsMatch(guid.ToString()));
12
}
13
0 commit comments