mirror of
https://github.com/realm/SwiftLint.git
synced 2026-05-07 20:12:49 +00:00
ad793d1c5b
These tests can especially not run in parallel.
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>
|