From 7ad9eb30ce0ffb402ad401c85dc2b1a7bef20f5c Mon Sep 17 00:00:00 2001
From: Tau <4602612+bash@users.noreply.github.com>
Date: Wed, 29 Nov 2023 12:49:49 +0100
Subject: [PATCH] =?UTF-8?q?Rename=20parseable=20=E2=86=92=20parsable?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
FrameworkFeatureConstants.props | 4 +--
.../ParseExtensionsTest.Generic.cs | 8 +++---
.../ParseExtensions.GenericParseable.cs | 28 +++++++++----------
Funcky/PublicAPI.Unshipped.txt | 6 ++--
4 files changed, 23 insertions(+), 23 deletions(-)
diff --git a/FrameworkFeatureConstants.props b/FrameworkFeatureConstants.props
index 0d2c1254..e230adb0 100644
--- a/FrameworkFeatureConstants.props
+++ b/FrameworkFeatureConstants.props
@@ -13,9 +13,9 @@
$(DefineConstants);STACK_TRACE_HIDDEN_SUPPORTED;DATE_ONLY_SUPPORTED;TIME_ONLY_SUPPORTED;PRIORITY_QUEUE;TRY_GET_NON_ENUMERATED_COUNT;HTTP_HEADERS_NON_VALIDATED;ELEMENT_AT_INDEX
- $(DefineConstants);GENERIC_MATH;GENERIC_PARSEABLE
+ $(DefineConstants);GENERIC_MATH;GENERIC_PARSABLE
- $(DefineConstants);RANDOM_SHUFFLE;UTF8_SPAN_PARSEABLE
+ $(DefineConstants);RANDOM_SHUFFLE;UTF8_SPAN_PARSABLE
diff --git a/Funcky.Test/Extensions/ParseExtensions/ParseExtensionsTest.Generic.cs b/Funcky.Test/Extensions/ParseExtensions/ParseExtensionsTest.Generic.cs
index d6277843..13e98394 100644
--- a/Funcky.Test/Extensions/ParseExtensions/ParseExtensionsTest.Generic.cs
+++ b/Funcky.Test/Extensions/ParseExtensions/ParseExtensionsTest.Generic.cs
@@ -1,4 +1,4 @@
-#if GENERIC_PARSEABLE
+#if GENERIC_PARSABLE
using System.Globalization;
namespace Funcky.Test.Extensions.ParseExtensions;
@@ -6,7 +6,7 @@ namespace Funcky.Test.Extensions.ParseExtensions;
public sealed partial class ParseExtensionsTest
{
[Theory]
- [MemberData(nameof(ParseableDoubleNumbers))]
+ [MemberData(nameof(ParsableDoubleNumbers))]
public void ParseGenericStringReturnsTheExpectedDouble(Option expected, string input)
{
Assert.Equal(expected, input.ParseNumberOrNone(NumberStyles.Number, null));
@@ -14,14 +14,14 @@ public void ParseGenericStringReturnsTheExpectedDouble(Option expected,
}
[Theory]
- [MemberData(nameof(ParseableDoubleNumbers))]
+ [MemberData(nameof(ParsableDoubleNumbers))]
public void ParseGenericSpanReturnsTheExpectedDouble(Option expected, string input)
{
Assert.Equal(expected, input.AsSpan().ParseNumberOrNone(NumberStyles.Number, null));
Assert.Equal(expected, input.AsSpan().ParseOrNone(null));
}
- public static TheoryData