From fc8fa9aa7aad6de3e041bd942fb6604703a6e730 Mon Sep 17 00:00:00 2001 From: Sinai <49360850+sinai-dev@users.noreply.github.com> Date: Mon, 23 Aug 2021 18:35:31 +1000 Subject: [PATCH] Fix TestClass init mistake --- src/Core/Tests/TestClass.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Core/Tests/TestClass.cs b/src/Core/Tests/TestClass.cs index 0b4a502..b94b9c7 100644 --- a/src/Core/Tests/TestClass.cs +++ b/src/Core/Tests/TestClass.cs @@ -118,7 +118,7 @@ namespace UnityExplorer.Tests ExplorerCore.Log($"5: Big list"); for (int i = 0; i < ABigList.Capacity; i++) - ABigList[i] = (short)UnityEngine.Random.Range(0, short.MaxValue); + ABigList.Add((short)UnityEngine.Random.Range(0, short.MaxValue)); ExplorerCore.Log("Finished TestClass Init_Mono"); }