mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Some create_benchmark.py script enhancements (v2).
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
//===--- {name}.swift {padding}----===//
|
||||
//===--- {name}.swift {padding}---===//
|
||||
//
|
||||
// This source file is part of the Swift.org open source project
|
||||
//
|
||||
|
||||
@@ -56,7 +56,7 @@ def create_benchmark_file(name):
|
||||
# fill in missing template details
|
||||
file_text = file_text.format(
|
||||
name = name,
|
||||
padding = "-" * (55 - len(name)),
|
||||
padding = "-" * (56 - len(name)),
|
||||
year = datetime.date.today().year
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user