From 0fe29dcd9e0ffd541e843448f55e507216270d0c Mon Sep 17 00:00:00 2001 From: MrGadget <9826063+MrGadget1024@users.noreply.github.com> Date: Sun, 24 Mar 2024 10:18:58 -0400 Subject: [PATCH] style(SyncSetTest): code formatting --- Assets/Mirror/Tests/Editor/SyncCollections/SyncSetTest.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Assets/Mirror/Tests/Editor/SyncCollections/SyncSetTest.cs b/Assets/Mirror/Tests/Editor/SyncCollections/SyncSetTest.cs index 02cedf7e7..3fed7c696 100644 --- a/Assets/Mirror/Tests/Editor/SyncCollections/SyncSetTest.cs +++ b/Assets/Mirror/Tests/Editor/SyncCollections/SyncSetTest.cs @@ -121,7 +121,6 @@ public void TestMultSync() public void CallbackTest() { bool called = false; - clientSyncSet.Callback = (op, item) => { called = true; @@ -140,7 +139,6 @@ public void CallbackTest() public void CallbackRemoveTest() { bool called = false; - clientSyncSet.Callback = (op, item) => { called = true; @@ -148,6 +146,7 @@ public void CallbackRemoveTest() Assert.That(op, Is.EqualTo(SyncHashSet.Operation.OP_REMOVE)); Assert.That(item, Is.EqualTo("World")); }; + serverSyncSet.Remove("World"); SerializeDeltaTo(serverSyncSet, clientSyncSet);