ale/test
Jon Parise c2c6c9f491 Fix Credo's line-matching pattern (#360)
* 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-22 23:33:05 +00:00
..
flow Fix #246 Don't run flow if there's no .flowconfig 2017-02-10 22:47:56 +00:00
top Improve mypy handling a little bit more 2017-01-20 17:30:34 +00:00
smoke_test.vader Fix #283 Add an option for using ch_sendraw(), which can be better for some users 2017-02-10 19:34:44 +00:00
test_ale_info.vader #254 Add an option for logging the output of commands 2017-02-16 23:18:57 +00:00
test_ale_toggle.vader Cover ALEToggle with Vader tests 2017-02-15 21:36:16 +00:00
test_alelint_autocmd.vader Merge everything into the one global map. 2016-10-24 20:21:42 +01:00
test_cleanup.vader Add support for managing temporary files/directories 2017-02-11 15:16:08 +00:00
test_command_chain.vader Fix #124 Finish implementing command chaining, and make it work for DMD 2017-02-04 18:30:30 +00:00
test_common_handlers.vader Fix Pug linting 2017-02-11 18:49:12 +00:00
test_credo_handler.vader Fix Credo's line-matching pattern (#360) 2017-02-22 23:33:05 +00:00
test_cursor_warnings.vader Merge everything into the one global map. 2016-10-24 20:21:42 +01:00
test_engine_invocation.vader Fix #315 Implement the read_buffer option 2017-02-09 23:32:57 +00:00
test_eslint_handler.vader #193 Fix a parsing error for parsing errors with eslint 2016-12-22 11:16:22 +00:00
test_filetype_mapping.vader #283 Fix linting buffers with no filename, by creating a filename with a guess for the file extension 2017-02-13 10:36:38 +00:00
test_find_nearest_directory.vader Improve mypy handling a little bit more 2017-01-20 17:30:34 +00:00
test_flow_command.vader Fix #246 Don't run flow if there's no .flowconfig 2017-02-10 22:47:56 +00:00
test_flow_handler.vader Fix #246 Don't run flow if there's no .flowconfig 2017-02-10 22:47:56 +00:00
test_format_command.vader Add support for temporary filename substitution, for replacing stdin_wrapper 2017-02-11 18:14:18 +00:00
test_format_temporary_file_creation.vader Add support for temporary filename substitution, for replacing stdin_wrapper 2017-02-11 18:14:18 +00:00
test_fortran_handler.vader Update line marker pattern for new gfortran 2017-02-14 14:31:31 +01:00
test_get_loclist.vader Merge everything into the one global map. 2016-10-24 20:21:42 +01:00
test_ghc_handler.vader Add hdevtools linter for haskell 2017-02-17 17:18:38 +00:00
test_highlight_clearing.vader Fix #171 - Implement basic error highlighting 2017-02-13 00:24:25 +00:00
test_highlight_placement.vader Fix #171 - Implement basic error highlighting 2017-02-13 00:24:25 +00:00
test_history_saving.vader #254 Add an option for logging the output of commands 2017-02-16 23:18:57 +00:00
test_line_join.vader Join the lines Neovim passes to ale (#263) 2017-01-19 20:01:51 +00:00
test_linter_defintion_processing.vader Fix #315 Implement the read_buffer option 2017-02-09 23:32:57 +00:00
test_linter_retrieval.vader Fix #315 Implement the read_buffer option 2017-02-09 23:32:57 +00:00
test_linting_blacklist.vader Improve file blacklisting to make Unite.vim not fuck up. 2016-10-31 14:47:08 +00:00
test_linting_sets_signs.vader Merge everything into the one global map. 2016-10-24 20:21:42 +01:00
test_linting_updates_loclist.vader Merge everything into the one global map. 2016-10-24 20:21:42 +01:00
test_list_opening.vader Clean up the list opening tests 2017-01-22 13:33:16 +00:00
test_loclist_binary_search.vader Correct the order of arguments for AssertEqual in some places. 2016-10-14 20:34:21 +01:00
test_loclist_jumping_loading.vader Fix #314 - quickfix should take precedence over loclist for jumping 2017-02-21 12:51:49 +00:00
test_loclist_sorting.vader Correct the order of arguments for AssertEqual in some places. 2016-10-14 20:34:21 +01:00
test_mypy_handler.vader Fix mypy error parsing when column numbers are included. 2017-02-04 19:47:37 +00:00
test_nearest_file_search.vader Make the nearest file search result absolute paths, and add tests to cover it. 2016-10-17 21:14:34 +01:00
test_php_handler.vader Remove a flaky PHP handler 2017-02-21 11:35:37 +00:00
test_resolve_local_path.vader Improve mypy handling a little bit more 2017-01-20 17:30:34 +00:00
test_rust_handler.vader Cover the Rust handler with some tests 2017-02-07 21:17:10 +00:00
test_sandbox_execution.vader #338 Try and stop ALE from throwing ALEs when run from a sandbox 2017-02-14 21:02:49 +00:00
test_semver_utils.vader #289 Only use the --stdin-display-name flag if the flake8 version supports it 2017-02-06 11:12:27 +00:00
test_sign_parsing.vader Fix parsing of currently shown signs with Spanish locale (#268) 2017-01-22 13:40:23 +00:00
test_sign_placement.vader Add a test to cover sign placement after linting 2017-02-07 22:55:23 +00:00
test_standard_handler.vader Add standard linter 2017-02-05 21:19:34 +01:00
test_statusline_api_without_globals.vader #274 - Fix airline integration when ALE is not loaded fully 2017-02-13 23:31:29 +00:00
test_statusline.vader Merge everything into the one global map. 2016-10-24 20:21:42 +01:00
test_temporary_file_management.vader Add support for managing temporary files/directories 2017-02-11 15:16:08 +00:00
test_tmpdir_init.vader Fix #269 Set $TMPDIR to a default value, if not set 2017-02-10 09:45:42 +00:00
test_typecheck_handler.vader escape dot in maker regex (#357) 2017-02-21 20:32:37 +00:00
test_vim8_processid_parsing.vader Use a more reliable method for getting an ID for a job 2017-02-17 10:19:44 +00:00
vimrc Fix #269 Set $TMPDIR to a default value, if not set 2017-02-10 09:45:42 +00:00