mirror of
https://github.com/realm/SwiftLint.git
synced 2026-05-07 20:12:49 +00:00
Repair GenerationTests on Windows (#6354)
This commit is contained in:
committed by
GitHub
parent
2e92f75a69
commit
e526fdef94
@@ -28,6 +28,8 @@ public struct Example: Sendable {
|
||||
package private(set) var testDisableCommand: Bool
|
||||
/// Whether the example should be tested on Linux
|
||||
public private(set) var testOnLinux: Bool
|
||||
/// Whether the example should be tested on Windows
|
||||
public private(set) var testOnWindows: Bool
|
||||
/// The path to the file where the example was created
|
||||
public private(set) var file: StaticString
|
||||
/// The line in the file where the example was created
|
||||
@@ -68,6 +70,7 @@ public extension Example {
|
||||
testWrappingInString: Bool = true,
|
||||
testDisableCommand: Bool = true,
|
||||
testOnLinux: Bool = true,
|
||||
testOnWindows: Bool = true,
|
||||
file: StaticString = #filePath,
|
||||
line: UInt = #line,
|
||||
excludeFromDocumentation: Bool = false) {
|
||||
@@ -75,6 +78,7 @@ public extension Example {
|
||||
self.configuration = configuration
|
||||
self.testMultiByteOffsets = testMultiByteOffsets
|
||||
self.testOnLinux = testOnLinux
|
||||
self.testOnWindows = testOnWindows
|
||||
self.file = file
|
||||
self.line = line
|
||||
self.excludeFromDocumentation = excludeFromDocumentation
|
||||
|
||||
Reference in New Issue
Block a user