Skip to content

Commit d331079

Browse files
Fixed: Remove _ from test case name
1 parent b27af99 commit d331079

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Sources/AtCoderCLI/main.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import SwiftShell
55
struct Command: ParsableCommand {
66
static var configuration = CommandConfiguration(
77
abstract: "AtCoder CLI for Swift.",
8-
version: "1.0.10",
8+
version: "1.0.11",
99
subcommands: [
1010
New.self,
1111
Submit.self,

Sources/AtCoderLibrary/Command/New/Generator/TestLibrary.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ struct TestLibrary: Generator {
2121
let expected = expected.last == "\\n" ? expected : expected + "\\n"
2222
var error = ""
2323
let exp = expectation(description: "")
24-
let testTarget = String(describing: type(of: self)).replacingOccurrences(of: "Tests", with: "")
24+
let testTarget = String(describing: type(of: self))
25+
.replacingOccurrences(of: "Tests", with: "")
26+
.replacingOccurrences(of: "_", with: "")
2527
let binary = productsDirectory.appendingPathComponent(testTarget)
2628
let process = Process()
2729

0 commit comments

Comments
 (0)