From 9b84c3bfa0b2d7bcf0843dfcdd7409c9c1495cf4 Mon Sep 17 00:00:00 2001 From: yonihemi <2340723+yonihemi@users.noreply.github.com> Date: Fri, 26 Apr 2024 09:14:07 +0800 Subject: [PATCH] Add Target tests --- Tests/LLVMTests/TargetTests.swift | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Tests/LLVMTests/TargetTests.swift diff --git a/Tests/LLVMTests/TargetTests.swift b/Tests/LLVMTests/TargetTests.swift new file mode 100644 index 0000000..6176503 --- /dev/null +++ b/Tests/LLVMTests/TargetTests.swift @@ -0,0 +1,12 @@ +import SwiftyLLVM +import XCTest + +final class TargetTests: XCTestCase { + + func testHostTargetName() throws { + let h = try Target.host() + let n = h.name + XCTAssertFalse(n.isEmpty) + } + +}