From 29b2a5670c30bf3a120e416bbec3086538c72c85 Mon Sep 17 00:00:00 2001 From: "Andres G. Aragoneses" Date: Wed, 3 Jan 2024 13:30:06 +0800 Subject: [PATCH] Backend.Tests: fix typo sofis...->sophisticated --- src/GWallet.Backend.Tests/Deserialization.fs | 2 +- src/GWallet.Backend.Tests/MarshallingData.fs | 6 +++--- src/GWallet.Backend.Tests/Serialization.fs | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/GWallet.Backend.Tests/Deserialization.fs b/src/GWallet.Backend.Tests/Deserialization.fs index 28f744870..1d7a1f535 100644 --- a/src/GWallet.Backend.Tests/Deserialization.fs +++ b/src/GWallet.Backend.Tests/Deserialization.fs @@ -18,7 +18,7 @@ type Deserialization() = member __.``deserialize cache does not fail``() = let deserializedCache: DietCache = Marshalling.Deserialize - MarshallingData.SofisticatedCachingDataExampleInJson + MarshallingData.SophisticatedCachingDataExampleInJson Assert.That(deserializedCache, Is.Not.Null) diff --git a/src/GWallet.Backend.Tests/MarshallingData.fs b/src/GWallet.Backend.Tests/MarshallingData.fs index 03ddc295f..90e1e6a37 100644 --- a/src/GWallet.Backend.Tests/MarshallingData.fs +++ b/src/GWallet.Backend.Tests/MarshallingData.fs @@ -175,9 +175,9 @@ module MarshallingData = .Add("0xFOOBARBAZ", [Currency.ETC.ToString()]) let private fiatValues = Map.empty.Add(Currency.ETH.ToString(), 161.796m) .Add(Currency.ETC.ToString(), 169.99999999m) - let SofisticatedCachingDataExample = { UsdPrice = fiatValues; Addresses = addresses; Balances = balances; } + let SophisticatedCachingDataExample = { UsdPrice = fiatValues; Addresses = addresses; Balances = balances; } - let SofisticatedCachingDataExampleInJson = + let SophisticatedCachingDataExampleInJson = sprintf """{ "Version": "%s", "TypeName": "%s", @@ -312,7 +312,7 @@ module MarshallingData = let someEtherTransactionInfo = { Proposal = someUnsignedEtherTransactionProposal; - Cache = SofisticatedCachingDataExample; + Cache = SophisticatedCachingDataExample Metadata = someEtherTxMetadata; } let SignedEtherTransactionExample = diff --git a/src/GWallet.Backend.Tests/Serialization.fs b/src/GWallet.Backend.Tests/Serialization.fs index a0d4f821d..9a4aeb861 100644 --- a/src/GWallet.Backend.Tests/Serialization.fs +++ b/src/GWallet.Backend.Tests/Serialization.fs @@ -29,12 +29,12 @@ type Serialization() = [] member __.``complex caching export works``() = - let json = Marshalling.Serialize MarshallingData.SofisticatedCachingDataExample + let json = Marshalling.Serialize MarshallingData.SophisticatedCachingDataExample Assert.That(json, Is.Not.Null) Assert.That(json, Is.Not.Empty) Assert.That(json, - Is.EqualTo (MarshallingData.SofisticatedCachingDataExampleInJson)) + Is.EqualTo (MarshallingData.SophisticatedCachingDataExampleInJson)) [] member __.``unsigned BTC transaction export``() =