|
|
@@ -276,12 +276,16 @@ ruleTester.run("no-trailing-spaces", rule, { |
|
|
message: "Trailing spaces not allowed.", |
|
|
type: "Program", |
|
|
line: 1, |
|
|
column: 11 |
|
|
column: 11, |
|
|
endLine: 1, |
|
|
endColumn: 12 |
|
|
}, { |
|
|
message: "Trailing spaces not allowed.", |
|
|
type: "Program", |
|
|
line: 2, |
|
|
column: 8 |
|
|
column: 8, |
|
|
endLine: 2, |
|
|
endColumn: 9 |
|
|
}] |
|
|
}, |
|
|
{ |
|
|
@@ -292,7 +296,9 @@ ruleTester.run("no-trailing-spaces", rule, { |
|
|
message: "Trailing spaces not allowed.", |
|
|
type: "Program", |
|
|
line: 1, |
|
|
column: 11 |
|
|
column: 11, |
|
|
endLine: 1, |
|
|
endColumn: 12 |
|
|
}] |
|
|
}, |
|
|
{ |
|
|
@@ -303,7 +309,9 @@ ruleTester.run("no-trailing-spaces", rule, { |
|
|
message: "Trailing spaces not allowed.", |
|
|
type: "Program", |
|
|
line: 1, |
|
|
column: 1 |
|
|
column: 1, |
|
|
endLine: 1, |
|
|
endColumn: 6 |
|
|
}] |
|
|
}, |
|
|
{ |
|
|
@@ -325,7 +333,9 @@ ruleTester.run("no-trailing-spaces", rule, { |
|
|
message: "Trailing spaces not allowed.", |
|
|
type: "Program", |
|
|
line: 1, |
|
|
column: 15 // there are invalid spaces in columns 15 and 16 |
|
|
column: 15, // there are invalid spaces in columns 15 and 16 |
|
|
endLine: 1, |
|
|
endColumn: 17 |
|
|
}] |
|
|
}, |
|
|
{ |
|
|
@@ -339,13 +349,17 @@ ruleTester.run("no-trailing-spaces", rule, { |
|
|
message: "Trailing spaces not allowed.", |
|
|
type: "Program", |
|
|
line: 1, |
|
|
column: 15 |
|
|
column: 15, |
|
|
endLine: 1, |
|
|
endColumn: 18 |
|
|
}, |
|
|
{ |
|
|
message: "Trailing spaces not allowed.", |
|
|
type: "Program", |
|
|
line: 2, |
|
|
column: 15 |
|
|
column: 15, |
|
|
endLine: 2, |
|
|
endColumn: 17 |
|
|
} |
|
|
] |
|
|
}, |
|
|
@@ -357,7 +371,9 @@ ruleTester.run("no-trailing-spaces", rule, { |
|
|
message: "Trailing spaces not allowed.", |
|
|
type: "Program", |
|
|
line: 3, |
|
|
column: 7 |
|
|
column: 7, |
|
|
endLine: 3, |
|
|
endColumn: 9 |
|
|
}] |
|
|
}, |
|
|
{ |
|
|
@@ -369,13 +385,17 @@ ruleTester.run("no-trailing-spaces", rule, { |
|
|
message: "Trailing spaces not allowed.", |
|
|
type: "Program", |
|
|
line: 4, |
|
|
column: 7 |
|
|
column: 7, |
|
|
endLine: 4, |
|
|
endColumn: 9 |
|
|
}, |
|
|
{ |
|
|
message: "Trailing spaces not allowed.", |
|
|
type: "Program", |
|
|
line: 5, |
|
|
column: 1 |
|
|
column: 1, |
|
|
endLine: 5, |
|
|
endColumn: 2 |
|
|
} |
|
|
] |
|
|
}, |
|
|
@@ -388,7 +408,9 @@ ruleTester.run("no-trailing-spaces", rule, { |
|
|
message: "Trailing spaces not allowed.", |
|
|
type: "Program", |
|
|
line: 4, |
|
|
column: 7 |
|
|
column: 7, |
|
|
endLine: 4, |
|
|
endColumn: 9 |
|
|
} |
|
|
] |
|
|
}, |
|
|
@@ -404,7 +426,9 @@ ruleTester.run("no-trailing-spaces", rule, { |
|
|
message: "Trailing spaces not allowed.", |
|
|
type: "Program", |
|
|
line: 3, |
|
|
column: 7 |
|
|
column: 7, |
|
|
endLine: 3, |
|
|
endColumn: 9 |
|
|
} |
|
|
] |
|
|
}, |
|
|
@@ -419,7 +443,9 @@ ruleTester.run("no-trailing-spaces", rule, { |
|
|
message: "Trailing spaces not allowed.", |
|
|
type: "Program", |
|
|
line: 2, |
|
|
column: 8 |
|
|
column: 8, |
|
|
endLine: 2, |
|
|
endColumn: 9 |
|
|
} |
|
|
] |
|
|
}, |
|
|
@@ -431,13 +457,17 @@ ruleTester.run("no-trailing-spaces", rule, { |
|
|
message: "Trailing spaces not allowed.", |
|
|
type: "Program", |
|
|
line: 1, |
|
|
column: 1 |
|
|
column: 1, |
|
|
endLine: 1, |
|
|
endColumn: 5 |
|
|
}, |
|
|
{ |
|
|
message: "Trailing spaces not allowed.", |
|
|
type: "Program", |
|
|
line: 2, |
|
|
column: 8 |
|
|
column: 8, |
|
|
endLine: 2, |
|
|
endColumn: 9 |
|
|
} |
|
|
] |
|
|
}, |
|
|
@@ -452,7 +482,9 @@ ruleTester.run("no-trailing-spaces", rule, { |
|
|
message: "Trailing spaces not allowed.", |
|
|
type: "Program", |
|
|
line: 1, |
|
|
column: 17 |
|
|
column: 17, |
|
|
endLine: 1, |
|
|
endColumn: 18 |
|
|
} |
|
|
] |
|
|
}, |
|
|
@@ -517,7 +549,9 @@ ruleTester.run("no-trailing-spaces", rule, { |
|
|
message: "Trailing spaces not allowed.", |
|
|
type: "Program", |
|
|
line: 1, |
|
|
column: 26 |
|
|
column: 26, |
|
|
endLine: 1, |
|
|
endColumn: 27 |
|
|
} |
|
|
] |
|
|
}, |
|
|
@@ -530,13 +564,17 @@ ruleTester.run("no-trailing-spaces", rule, { |
|
|
message: "Trailing spaces not allowed.", |
|
|
type: "Program", |
|
|
line: 1, |
|
|
column: 3 |
|
|
column: 3, |
|
|
endLine: 1, |
|
|
endColumn: 4 |
|
|
}, |
|
|
{ |
|
|
message: "Trailing spaces not allowed.", |
|
|
type: "Program", |
|
|
line: 2, |
|
|
column: 24 |
|
|
column: 24, |
|
|
endLine: 2, |
|
|
endColumn: 25 |
|
|
} |
|
|
] |
|
|
}, |
|
|
@@ -549,7 +587,9 @@ ruleTester.run("no-trailing-spaces", rule, { |
|
|
message: "Trailing spaces not allowed.", |
|
|
type: "Program", |
|
|
line: 1, |
|
|
column: 20 |
|
|
column: 20, |
|
|
endLine: 1, |
|
|
endColumn: 21 |
|
|
} |
|
|
] |
|
|
}, |
|
|
@@ -562,7 +602,9 @@ ruleTester.run("no-trailing-spaces", rule, { |
|
|
message: "Trailing spaces not allowed.", |
|
|
type: "Program", |
|
|
line: 1, |
|
|
column: 34 |
|
|
column: 34, |
|
|
endLine: 1, |
|
|
endColumn: 35 |
|
|
} |
|
|
] |
|
|
} |
|
|
|