Skip to content

Commit 7c1a6a5

Browse files
committed
Add missing all-tests to PathTests
...
1 parent 89b2796 commit 7c1a6a5

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@ SWIFT_TEST=swift test
88
CONFIGURATION=release
99

1010
# docker config
11-
DOCKER_BUILD_DIR=".docker.build"
11+
DOCKER_BUILD_DIR=.docker.build
1212
#SWIFT_BUILD_IMAGE="swift:5.5.3"
13-
SWIFT_BUILD_IMAGE="helje5/arm64v8-swift-dev:5.5.3"
13+
#SWIFT_BUILD_IMAGE="helje5/arm64v8-swift-dev:5.5.3"
14+
SWIFT_BUILD_IMAGE=swift:6.1
1415
SWIFT_DOCKER_BUILD_DIR="$(DOCKER_BUILD_DIR)/aarch64-unknown-linux/$(CONFIGURATION)"
1516
#SWIFT_DOCKER_BUILD_DIR="$(DOCKER_BUILD_DIR)/x86_64-unknown-linux/$(CONFIGURATION)"
1617
DOCKER_BUILD_PRODUCT="$(DOCKER_BUILD_DIR)/$(TOOL_NAME)"

Tests/MacroTests/PathTests.swift

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
//
2-
// PathTests.swift
3-
// Macro
4-
//
5-
// Created by Helge Heß on 07.09.25.
6-
//
7-
81
import XCTest
92
@testable import MacroCore
103
@testable import fs
@@ -44,4 +37,11 @@ final class PathTests: XCTestCase {
4437
XCTAssertEqual(path.extname("archive.") , ".") // trailing dot, extension
4538
XCTAssertEqual(path.extname("image.gif") , ".gif")
4639
}
40+
41+
static var allTests = [
42+
( "testBasename" , testBasename ),
43+
( "testBasenameWithDrop" , testBasenameWithDrop ),
44+
( "testDirname" , testDirname ),
45+
( "testExtname" , testExtname )
46+
]
4747
}

0 commit comments

Comments
 (0)