LibHac/tests/LibHac.Tests/DebugAssertHandler.cs

12 lines
274 B
C#
Raw Normal View History

using System.Diagnostics;
2021-12-19 04:53:37 +01:00
using LibHac.Common;
2021-11-14 20:08:57 +01:00
namespace LibHac.Tests;
public class DebugAssertHandler : DefaultTraceListener
{
2021-11-14 20:08:57 +01:00
public override void Fail(string message, string detailMessage)
{
2021-11-14 20:08:57 +01:00
throw new LibHacException(message + detailMessage);
}
2021-12-19 04:53:37 +01:00
}