summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2017-03-01Fix PHP column matching for unexpected single quotes (#370)Adriaan Zonnenberg
* PHP: Fix column matching for unexpected single quotes Unexpected single quotes resulted in an empty match, because PHP surrounds the errors with quotes, and we check for the next quote to be the ending delimiter. For example: an unexpected string 'foo' would be presented as `unexpected ''foo''`, and then the match would be `''`. The inner part of that match is an empty string. This adds a check for the keyword "expecting". Any quote after "expecting" won't be matched, so we can use greedy matching instead of non-greedy. * PHP: Use "very magic" The pattern started to get unreadable Also replaced non-greedy matching (`\{-}`) by greedy matching, because we don't need to match non-greedily anymore and it reads a little nicer. * PHP: Add tests for column matches And with that, also a test for unexpected single quotes.
2017-02-28Fix #288 - Add a command for running ALEw0rp
2017-02-26Copy all loclist items returned from handlers, and set up defaults for ↵w0rp
convenience
2017-02-22Fix Credo's line-matching pattern (#360)Jon Parise
* Fix Credo's line-matching pattern In d3e7d3d5, the line matching pattern was changed to handle filenames other than `stdin`. Unfortunately, this broke the pattern's ability to reliably extract both line and column numbers because the latter is an optional match and the filename portion was very greedy. This resulted in line numbers being discarded (treated as part of the filename) and column numbers being interpreted as line numbers. This change simplifies the pattern to only anchor on the line's suffix, ignoring the filename portion entirely. Alternatively, we could use vim's `\f` ("file name characters") class, but that could still run into problems when `:`'s naturally appear in the filename. * Add a Vader test case for the Credo handler
2017-02-21escape dot in maker regex (#357)Chris Paul
* escape dot in maker regex * Create test_typecheck_handler * Rename test_typecheck_handler to test_typecheck_handler.vader
2017-02-21Fix #314 - quickfix should take precedence over loclist for jumpingw0rp
2017-02-21#314 filter both lists, and add tests to cover the list retrievalw0rp
2017-02-21Remove a flaky PHP handlerw0rp
2017-02-21Merge remote-tracking branch 'adriaanzon/php-columns'w0rp
2017-02-21Merge pull request #348 from rob-b/add-hdevtools-linterw0rp
Add hdevtools linter for haskell
2017-02-18PHP: Make parser work with more error messagesAdriaan Zonnenberg
2017-02-18PHP: Fix test for column highlightingAdriaan Zonnenberg
2017-02-17Add hdevtools linter for haskellRob Berry
This adds support for the hdevtools haskell linter https://github.com/hdevtools/hdevtools The output for hdevtools is near identical to the ghc output so this also extracts the ghc handler into the handle file and adds tests * Add testing for previous major release of ghc
2017-02-17Use a more reliable method for getting an ID for a jobw0rp
2017-02-16#254 Add an option for logging the output of commandsw0rp
2017-02-16#254 Capture command exit codes in the historyw0rp
2017-02-16Add an option for completely disabling command history, and add documentationw0rp
2017-02-16Refactor history management functions into their own filew0rp
2017-02-16Add hdevtools linter for haskellRob Berry
This adds support for the hdevtools haskell linter https://github.com/hdevtools/hdevtools The output for hdevtools is near identical to the ghc output so this also extracts the ghc handler into the handle file and adds tests
2017-02-15Support columns on php handlerAdriaan Zonnenberg
Also added some tests for different error messages
2017-02-15Cover ALEToggle with Vader testsw0rp
2017-02-14#254 Add command history to ALEInfow0rp
2017-02-14#338 Try and stop ALE from throwing ALEs when run from a sandboxw0rp
2017-02-14Update line marker pattern for new gfortranDaan van Vugt
Add tests for GCC 4.1.2, 4.9.2 and 6.3.1
2017-02-13#274 - Fix airline integration when ALE is not loaded fullyw0rp
2017-02-13Output ALE global variables for :ALEInfow0rp
2017-02-13Include most linter variables in ALEInfow0rp
2017-02-13#283 Fix linting buffers with no filename, by creating a filename with a ↵w0rp
guess for the file extension
2017-02-13Fix #171 - Implement basic error highlightingw0rp
2017-02-11Replace every stdin-wrapper script with the new %t formatting supportw0rp
2017-02-11Fix Pug lintingw0rp
2017-02-11Add support for temporary filename substitution, for replacing stdin_wrapperw0rp
2017-02-11Add support for managing temporary files/directoriesw0rp
2017-02-10Fix #246 Don't run flow if there's no .flowconfigw0rp
2017-02-10Fix #283 Add an option for using ch_sendraw(), which can be better for some ↵w0rp
users
2017-02-10Fix #269 Set $TMPDIR to a default value, if not setw0rp
2017-02-09Fix #315 Implement the read_buffer optionw0rp
2017-02-09Make ALE complain when conflicting command options are usedw0rp
2017-02-09Merge pull request #306 from ahmedelgabri/standardjsw0rp
Add standard linter
2017-02-07Add a test to cover sign placement after lintingw0rp
2017-02-07Cover the Rust handler with some testsw0rp
2017-02-06#289 Only use the --stdin-display-name flag if the flake8 version supports itw0rp
2017-02-05Add standard linterAhmed El Gabri
2017-02-04Fix mypy error parsing when column numbers are included.w0rp
2017-02-04Fix #124 Finish implementing command chaining, and make it work for DMDw0rp
2017-01-24Add ALEInfo command to get list of available/enabled linters (#273)DiscoViking
* Add ALEInfo command to get list of available/enabled linters for current filetype * Add Vader tests for ALEInfo command * Fix ALEInfo tests breaking CI by echoing too much output to screen * Speculative change to Makefile which seems to fix test hanging problem locally. * Fix Vader tests to not require a TTY
2017-01-22Fix parsing of currently shown signs with Spanish locale (#268)EinfachToll
* Fix parsing of currently shown signs with spanish locale * Add a test for parsing of Spanish signs
2017-01-22Clean up the list opening testsw0rp
2017-01-22Add option to open loclist/quicklist when there are errors (#266)yfery
* Add option to open loclist/quicklist when there are errors I copied PR #137, and tries to complete it by correcting some issues and adding vader tests. About tests, first time with vader, can you give some feedback if there are what you expected in PR #137. * Remove old code + fix indent issue * add g:ale_keep_list_window_open option * Correct bug with keep open option * Add comment into vader file * Fix errors for Travis CI build
2017-01-20Improve mypy handling a little bit morew0rp