Skip to content

Commit d8fd55e

Browse files
committed
test: 增加 SocketLogging 单元测试
1 parent 57996ce commit d8fd55e

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
// Copyright (c) BootstrapBlazor & Argo Zhang (argo@live.ca). All rights reserved.
2+
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
3+
// Website: https://www.blazor.zone or https://argozhang.github.io/
4+
5+
using BootstrapBlazor.Socket.Logging;
6+
7+
namespace UnitTestTcpSocket;
8+
9+
public class SocketLoggingTest
10+
{
11+
[Fact]
12+
public void Logger_Ok()
13+
{
14+
SocketLogging.LogError(new Exception());
15+
}
16+
}

0 commit comments

Comments
 (0)