From 0cb819acf0f8aa2a3f95405f34423b359a444eb6 Mon Sep 17 00:00:00 2001 From: Francesco Mecca <code@francescomecca.eu> Date: Thu, 12 Dec 2024 11:37:59 +0100 Subject: [PATCH] more --- Pentole/Pentole.fsproj | 2 +- Pentole/test_extensions.fs | 2 +- tests/bytes_tests.fs | 2 +- tests/path_tests.fs | 2 +- tests/result_tests.fs | 2 +- tests/string_tests.fs | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Pentole/Pentole.fsproj b/Pentole/Pentole.fsproj index 3f17b6f..6ba30a5 100644 --- a/Pentole/Pentole.fsproj +++ b/Pentole/Pentole.fsproj @@ -4,7 +4,7 @@ <TargetFramework>net8.0</TargetFramework> <GenerateDocumentationFile>true</GenerateDocumentationFile> <PackageId>Pentole</PackageId> - <Version>0.0.3</Version> + <Version>0.0.4</Version> <Authors>Francesco Mecca</Authors> <Company>Bugless24</Company> </PropertyGroup> diff --git a/Pentole/test_extensions.fs b/Pentole/test_extensions.fs index 8d195da..1e652e9 100644 --- a/Pentole/test_extensions.fs +++ b/Pentole/test_extensions.fs @@ -2,7 +2,7 @@ namespace Pentole open NUnit.Framework -module TestsExtensions = +module Assert = let inline okEquals<'ok, 'err> (expected: 'ok) (got: Result<'ok, 'err>) = match got with | Ok got -> Assert.AreEqual (expected, got) diff --git a/tests/bytes_tests.fs b/tests/bytes_tests.fs index fe982e8..8f25c2b 100644 --- a/tests/bytes_tests.fs +++ b/tests/bytes_tests.fs @@ -2,7 +2,7 @@ module Tests.BinaryPrefix open NUnit.Framework -open Pentole.TestsExtensions +open Pentole.Assert open Pentole.BinaryPrefix.Bits open Pentole.BinaryPrefix.Bytes diff --git a/tests/path_tests.fs b/tests/path_tests.fs index a96654f..b253736 100644 --- a/tests/path_tests.fs +++ b/tests/path_tests.fs @@ -3,7 +3,7 @@ module Tests.Path open NUnit.Framework open Pentole -open Pentole.TestsExtensions +open Pentole.Assert open Pentole.Path [<Test>] diff --git a/tests/result_tests.fs b/tests/result_tests.fs index 11a87b5..2b8d962 100644 --- a/tests/result_tests.fs +++ b/tests/result_tests.fs @@ -2,7 +2,7 @@ module Tests.Result open NUnit.Framework -open Pentole.TestsExtensions +open Pentole.Assert open Pentole diff --git a/tests/string_tests.fs b/tests/string_tests.fs index 1647b1d..7f7767b 100644 --- a/tests/string_tests.fs +++ b/tests/string_tests.fs @@ -2,7 +2,7 @@ module Tests.String open NUnit.Framework -open Pentole.TestsExtensions +open Pentole.Assert open Pentole [<Test>]