mirror of
https://github.com/realm/SwiftLint.git
synced 2026-06-06 20:18:40 +00:00
15b285527a
* Short names for test modules * Lint plugins and `Package.swift` in integration tests * Simplify and merge file groups in Bazel * Move common functions to `TestHelpers`
44 lines
1004 B
XML
44 lines
1004 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<testsuites><testsuite>
|
|
<testcase name='warning: line_length in filename:1'>
|
|
<failure>Severity: warning
|
|
Rule: line_length
|
|
Reason: Violation Reason 1
|
|
|
|
File: filename
|
|
Line: 1
|
|
Column: 1
|
|
</failure>
|
|
</testcase>
|
|
<testcase name='error: line_length in filename:1'>
|
|
<failure>Severity: error
|
|
Rule: line_length
|
|
Reason: Violation Reason 2
|
|
|
|
File: filename
|
|
Line: 1
|
|
Column: nil
|
|
</failure>
|
|
</testcase>
|
|
<testcase name='error: syntactic_sugar in path/file.swift:1'>
|
|
<failure>Severity: error
|
|
Rule: syntactic_sugar
|
|
Reason: Shorthand syntactic sugar should be used, i.e. [Int] instead of Array<Int>
|
|
|
|
File: path/file.swift
|
|
Line: 1
|
|
Column: 2
|
|
</failure>
|
|
</testcase>
|
|
<testcase name='error: colon in <nopath>'>
|
|
<failure>Severity: error
|
|
Rule: colon
|
|
Reason: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals
|
|
|
|
File: <nopath>
|
|
Line: nil
|
|
Column: nil
|
|
</failure>
|
|
</testcase>
|
|
</testsuite></testsuites>
|