Skip to content

Commit 44bd38c

Browse files
committed
Most progress
1 parent a77c45f commit 44bd38c

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

Tests/Editor/CustomDrawers/SerializableDictionaryPropertyDrawerTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ public override void TearDown()
6464
private void ResetHostState()
6565
{
6666
// Diagnostic: Verify SerializedObject is still valid
67-
Assert.IsNotNull(
68-
_sharedSerializedObject,
67+
Assert.IsTrue(
68+
_sharedSerializedObject != null,
6969
"SerializedObject was disposed or null - check OneTimeTearDown ordering"
7070
);
7171
Assert.IsTrue(

Tests/Editor/CustomDrawers/SerializableSetPropertyDrawerTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ public override void TearDown()
6262
private void ResetHostState()
6363
{
6464
// Diagnostic: Verify SerializedObject is still valid
65-
Assert.IsNotNull(
66-
_sharedSerializedObject,
65+
Assert.IsTrue(
66+
_sharedSerializedObject != null,
6767
"SerializedObject was disposed or null - check OneTimeTearDown ordering"
6868
);
6969
Assert.IsTrue(

Tests/Editor/Helper/HelpersTests.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,9 @@ public void EnumerateScriptableObjectsFindsAsset()
8383

8484
string assetPath = Path.Combine(ScriptableFolder, "Dummy.asset").SanitizePath();
8585
TrackAssetPath(assetPath);
86-
DummyScriptableObject asset = ScriptableObject.CreateInstance<DummyScriptableObject>();
86+
DummyScriptableObject asset = Track(
87+
ScriptableObject.CreateInstance<DummyScriptableObject>()
88+
);
8789

8890
ExecuteWithImmediateImport(() =>
8991
{

0 commit comments

Comments
 (0)