From 800d9e9fb6891dcc861c24f17340f5a88209e2ea Mon Sep 17 00:00:00 2001 From: ruki Date: Tue, 17 Mar 2026 23:23:00 +0800 Subject: improve check test --- tests/projects/csharp/console/test.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/projects/csharp/console/test.lua') diff --git a/tests/projects/csharp/console/test.lua b/tests/projects/csharp/console/test.lua index 5ab8adc69..e67becab3 100644 --- a/tests/projects/csharp/console/test.lua +++ b/tests/projects/csharp/console/test.lua @@ -1,10 +1,10 @@ -import("lib.detect.find_tool") +import("detect.sdks.find_dotnet") function test_build(t) - local dotnet = find_tool("dotnet") - if dotnet then + local dotnet = find_dotnet() + if dotnet and dotnet.sdkver then t:build() else - return t:skip("dotnet not found") + return t:skip("dotnet sdk not found") end end -- cgit v1.3.1