Skip to content

Commit

Permalink
Fix broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
halgari committed Aug 8, 2024
1 parent 2f3ec13 commit 953fb65
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/NexusMods.MnemonicDB.TestModel/Attributes/TuplePath.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using NexusMods.Hashing.xxHash64;
using NexusMods.MnemonicDB.Abstractions;
using NexusMods.MnemonicDB.Abstractions.Attributes;
using NexusMods.MnemonicDB.Abstractions.ElementComparers;
Expand All @@ -11,4 +10,9 @@ protected override (EntityId, string) FromLowLevel((ulong, string) value)
{
return (EntityId.From(value.Item1), value.Item2);
}

protected override (ulong, string) ToLowLevel((EntityId, string) value)
{
return (value.Item1.Value, value.Item2);
}
}

0 comments on commit 953fb65

Please sign in to comment.