Is something wrong with using LogAssert.Expect for LogType.Exception? (Solved: Wrong LogType)

Hello, Testing & Automation people!

Is something wrong with using LogAssert.Expect for LogType.Exception?
Or am I crazy here?

Simple example below:

[Test]
public void NetworkManager_TestsTest()
{
LogAssert.Expect(LogType.Exception, “test”);
Debug.Assert(false, “test”);
}

I continue to receive the following error:
Unhandled log message: ‘[Assert] test’. Use UnityEngine.TestTools.LogAssert.Expect

No matter in what order I rearrange when to Expect the Assertion, before, after, even before AND after…

Thoughts?

You are expecting a log of type Exception, and then log an Assertion (LogAssert).
Instead, you should log the message using: Debug.LogException.

Ahhh… I see now. I must have missed that somehow. Thank you very much! : )

Upon switching it, it now works fine.