Skip to content

Commit

Permalink
Backend.Tests: fix typo sofis...->sophisticated
Browse files Browse the repository at this point in the history
  • Loading branch information
knocte committed Jan 3, 2024
1 parent 0337dfd commit 50467e0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/GWallet.Backend.Tests/Deserialization.fs
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
6 changes: 3 additions & 3 deletions src/GWallet.Backend.Tests/MarshallingData.fs
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -312,7 +312,7 @@ module MarshallingData =
let someEtherTransactionInfo =
{
Proposal = someUnsignedEtherTransactionProposal;
Cache = SofisticatedCachingDataExample;
Cache = SophisticatedCachingDataExample
Metadata = someEtherTxMetadata;
}
let SignedEtherTransactionExample =
Expand Down
4 changes: 2 additions & 2 deletions src/GWallet.Backend.Tests/Serialization.fs
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ type Serialization() =
[<Test>]
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))

[<Test>]
member __.``unsigned BTC transaction export``() =
Expand Down

0 comments on commit 50467e0

Please sign in to comment.