Skip to content

Commit

Permalink
Re-add RealmValue casts
Browse files Browse the repository at this point in the history
  • Loading branch information
rorbech committed Apr 4, 2024
1 parent 38eb4bf commit e8b90e1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Tests/Realm.Tests/Sync/DataTypeSynchronizationTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -287,10 +287,10 @@ public class DataTypeSynchronizationTests : SyncTestBase

public static readonly object[] RealmTestValuesWithCollections = RealmTestPrimitiveValues.Concat(new[]
{
new object[] { 12.5f, 15d },
new object[] { (RealmValue)12.5f, (RealmValue)15d },
new object[]
{
new List<RealmValue>
(RealmValue)new List<RealmValue>
{
RealmValue.Null,
1,
Expand All @@ -312,11 +312,11 @@ public class DataTypeSynchronizationTests : SyncTestBase
{ "key4", "string" },
}
},
15d
(RealmValue)15d
},
new object[]
{
new Dictionary<string, RealmValue>
(RealmValue)new Dictionary<string, RealmValue>
{
{ "key1", RealmValue.Null },
{ "key2", 1 },
Expand All @@ -340,7 +340,7 @@ public class DataTypeSynchronizationTests : SyncTestBase
}
},
},
15d
(RealmValue)15d
},
}).ToArray();

Expand Down

0 comments on commit e8b90e1

Please sign in to comment.