summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMichal Nowikowski <godfryd@gmail.com>2014-07-25 14:23:04 +0200
committerMichal Nowikowski <godfryd@gmail.com>2014-07-25 14:23:04 +0200
commitd7f420156bc73fdc98484e83568df42f2c470dfb (patch)
tree3f9d049101a852436edf43d949b4cc760d66fdcc /test
parente94abbd0d3a214b628133b496d9a65171e8ad382 (diff)
downloadpylint-d7f420156bc73fdc98484e83568df42f2c470dfb.tar.gz
Fixed tests for line ending checks.
Diffstat (limited to 'test')
-rw-r--r--test/functional/line_endings.py2
-rw-r--r--test/functional/line_endings.txt2
2 files changed, 3 insertions, 1 deletions
diff --git a/test/functional/line_endings.py b/test/functional/line_endings.py
index c8c7141..d6bc3fc 100644
--- a/test/functional/line_endings.py
+++ b/test/functional/line_endings.py
@@ -1,4 +1,4 @@
"mixing line endings are not welcome"
-
+# +1: [unexpected-line-ending-format, mixed-line-endings]
CONST = 1
diff --git a/test/functional/line_endings.txt b/test/functional/line_endings.txt
index e69de29..a18a872 100644
--- a/test/functional/line_endings.txt
+++ b/test/functional/line_endings.txt
@@ -0,0 +1,2 @@
+mixed-line-endings:3::Mixed line endings LF and CRLF
+unexpected-line-ending-format:3::Unexpected line ending format. There is 'CRLF' while it should be 'LF'.