ale/test
Olaf Alders 8a77290553 [WIP] Begin to distinguish between Perl warnings and errors (#933)
* If a Perl script compiles, there are only warnings and no errors

* Let the first Perl error or warning win.

Take the following example:

***

sub foo {
    my $thing;

***

This might have the following messages when we compile it:

Missing right curly or square bracket at warning.pl line 7, at end of
line
syntax error at warning.pl line 7, at EOF
warning.pl had compilation errors.

With the current behaviour, we just get a "syntax error" message, which
isn't all that helpful.  With this patch we get "Missing right curly or
square bracket".

* Fix variable scope and pattern matching syntax

* Use named variable to enhance clarity when matching Perl output

* Add more tests for Perl linter

* Remove unnecessary parens

* Simplify check for pattern match
2018-03-02 21:04:52 +00:00
..
.config/nvim Run all tests in NeoVim, improve the test script, and make all tests pass for NeoVim 2017-05-12 20:38:52 +01:00
command_callback add php-cs-fixer to list of fixers 2018-03-01 15:48:47 +01:00
completion #1162 Get LSP completions working reasonably well 2017-11-26 13:01:01 +00:00
csslint-test-files Fix #260 automatically set .csslintrc files from ancestor directories 2017-03-29 00:56:39 +01:00
elixir-test-files new fixer elixir mix format 2017-10-22 19:20:38 -04:00
elm-test-files Elm local install support (#915) 2017-09-10 12:58:42 +01:00
eslint-test-files Fix #923 Use package.json as a last resort for eslint --fix 2017-09-12 09:10:37 +01:00
fix Fix #1336 - Print a friendly message when using invalid function names for fixers 2018-02-18 10:13:30 +00:00
fixers add php-cs-fixer to list of fixers 2018-03-01 15:48:47 +01:00
flow Fix #246 Don't run flow if there's no .flowconfig 2017-02-10 22:47:56 +00:00
go_files Go: Add gotype support (#1099) 2018-01-07 12:11:01 +00:00
gradle-test-files Kotlin and general Gradle support. (#745) 2017-07-10 23:03:36 +01:00
hack_files Add hackfmt fixer 2017-10-27 13:42:55 -07:00
hamllint-test-files force add test fixtures for hamllint 2017-10-25 21:35:24 +02:00
handler [WIP] Begin to distinguish between Perl warnings and errors (#933) 2018-03-02 21:04:52 +00:00
javascript_files added importjs fixer 2017-12-05 00:37:31 +09:00
json_files Support fixing JSON files with fixjson 2018-01-24 10:36:31 +00:00
lsp Fix #1384 - Handle warnings and suggestions for tsserver 2018-03-02 20:33:45 +00:00
phpcs-test-files Fix some escaping and make some tests set filenames consistently 2017-06-21 22:33:34 +01:00
prettier-test-files Add 'prettier' fixer support to TypeScript, CSS, SCSS and JSON (#910) 2017-09-06 15:21:26 +01:00
reasonml_files refmt fixer for ReasonML 2017-10-29 21:48:28 +01:00
ruby_fixtures [eruby] Add GetCommand to erb linter 2017-11-12 23:33:30 -05:00
rust_files add rustfmt fixer 2017-10-21 12:31:49 -05:00
script Run tests in parallel 2017-12-07 20:07:45 +00:00
sign Make one of the sign tests work in all locales 2017-10-25 22:35:21 +01:00
slimlint-test-files slimlint: Search for .rubocop.yml and use it 2017-09-15 18:56:59 +02:00
smlnj Detect and use CM files for smlnj (#884) 2017-09-03 19:56:14 +01:00
test_c_projects Detect .git directories for finding the project root for C projects 2017-06-25 21:33:15 +01:00
tflint-test-files/foo Add tflint fot Terraform 2017-10-26 19:37:04 +01:00
top Improve mypy handling a little bit more 2017-01-20 17:30:34 +00:00
util Fix more random Windows test issues 2017-09-09 18:03:34 +01:00
smoke_test.vader Fix #1298 - Escape commands for PowerShell 2018-01-17 18:08:17 +00:00
test_ale_info.vader Option to open lists vertically (#1381) 2018-03-02 20:22:29 +00:00
test_ale_lint_command.vader Get all tests to pass on Windows 2017-10-23 23:09:40 +01:00
test_ale_toggle.vader Make toggling work when pattern options are enabled 2017-12-01 17:12:19 +00:00
test_ale_var.vader #591 Store buffer variables when fixing filess, and read them back in ale#Var 2017-05-30 22:15:24 +01:00
test_alelint_autocmd.vader Run before lint cycle, rename autocmds 2017-12-10 13:10:52 +00:00
test_autocmd_commands.vader Clean up ALE linter buffer data when buffers are deleted, not unloaded 2017-12-19 15:35:57 +00:00
test_backwards_compatibility.vader Rename g:ale_linters_sh_* to g:ale_sh_* 2017-04-30 22:38:28 +02:00
test_balloon_messages.vader #653 - Update the loclist binary search to work with buffer numbers, to filter out items for other buffers 2017-08-12 14:27:47 +01:00
test_c_import_paths.vader Fix the mscs tests on Windows, and use the improved Simplify for all tests instead. 2017-12-19 18:23:09 +00:00
test_cleanup.vader Clean up ALE linter buffer data when buffers are deleted, not unloaded 2017-12-19 15:35:57 +00:00
test_command_chain.vader Get all tests to pass on Windows 2017-10-23 23:09:40 +01:00
test_conflicting_plugin_warnings.vader Run all tests in NeoVim, improve the test script, and make all tests pass for NeoVim 2017-05-12 20:38:52 +01:00
test_csslint_config_detection.vader Fix the mscs tests on Windows, and use the improved Simplify for all tests instead. 2017-12-19 18:23:09 +00:00
test_cursor_warnings.vader Allow the cursor messages to be disabled while Vim is running 2017-12-19 14:43:24 +00:00
test_disabling_ale.vader Fix #577 Add an option preventing linting of large files 2017-05-26 21:21:15 +01:00
test_dockerfile_hadolint_linter.vader Added tests for hadolint 2018-01-29 22:21:50 +01:00
test_elm_executable_detection.vader Fix the mscs tests on Windows, and use the improved Simplify for all tests instead. 2017-12-19 18:23:09 +00:00
test_engine_invocation.vader Fix #315 Implement the read_buffer option 2017-02-09 23:32:57 +00:00
test_engine_lsp_response_handling.vader Cover the Rust LSP with tests, allow LSP linters to be named anything, and rename the Rust LSP linter to rls 2017-08-02 23:21:30 +01:00
test_errors_removed_after_filetype_changed.vader Get all tests to pass on Windows 2017-10-23 23:09:40 +01:00
test_eslint_executable_detection.vader Fix the mscs tests on Windows, and use the improved Simplify for all tests instead. 2017-12-19 18:23:09 +00:00
test_filetype_linter_defaults.vader Fix #1128 - Add g:ale_linters_explicit for only enabling linters explicitly 2017-11-14 19:55:46 +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 Fix the mscs tests on Windows, and use the improved Simplify for all tests instead. 2017-12-19 18:23:09 +00:00
test_flow_command.vader Simplfy semver handling and share the semver version cache across everything 2017-11-12 10:56:53 +00:00
test_format_command.vader Get more of the tests to pass on Windows 2017-10-23 01:26:31 +01:00
test_format_temporary_file_creation.vader Get more of the tests to pass on Windows 2017-10-23 01:26:31 +01:00
test_function_arg_count.vader Move all functions for fixing things to autoload/ale/fixers, and only accept the lines of input where needed. 2017-06-07 14:02:29 +01:00
test_fuzzy_json_decode.vader Fix #988 - Support --fix-dry-run for ESLint by processing the JSON output 2017-11-22 23:23:14 +00:00
test_get_abspath.vader Fix #1210 - Fix a Windows path issue which broke TSLint 2017-12-18 13:27:59 +00:00
test_get_loclist.vader Merge everything into the one global map. 2016-10-24 20:21:42 +01:00
test_getmatches.vader Add a function for getting matches, and use it to simplify a lot of code 2017-04-18 00:35:53 +01:00
test_go_to_definition.vader Fix the mscs tests on Windows, and use the improved Simplify for all tests instead. 2017-12-19 18:23:09 +00:00
test_gradle_build_classpath_command.vader Fix the mscs tests on Windows, and use the improved Simplify for all tests instead. 2017-12-19 18:23:09 +00:00
test_gradle_find_executable.vader Fix the mscs tests on Windows, and use the improved Simplify for all tests instead. 2017-12-19 18:23:09 +00:00
test_gradle_find_project_root.vader Fix the mscs tests on Windows, and use the improved Simplify for all tests instead. 2017-12-19 18:23:09 +00:00
test_highlight_placement.vader Fix #741 - Set highlights for entire lines when signs are disabled 2017-11-17 14:29:57 +00:00
test_highlight_position_chunking.vader Fix #604 - Support highlights spanning many lines 2017-05-31 13:14:39 +01:00
test_history_saving.vader Fix #1298 - Escape commands for PowerShell 2018-01-17 18:08:17 +00:00
test_line_join.vader Fix #1251 - Handle an empty list in the line callback when NeoVim crashes 2017-12-26 18:15:59 +00:00
test_lint_error_delay.vader #965 Check ale#ShouldDoNothing() less and such often, for better performance 2017-10-11 23:51:41 +01:00
test_lint_file_linters.vader #857 - Add b:ale_fix_on_save for controlling fixing on save for specific buffers 2017-10-30 22:19:57 +00:00
test_lint_on_enter_when_file_changed.vader Get more of the tests to pass on Windows 2017-10-23 01:26:31 +01:00
test_lint_on_filetype_changed.vader #505 - Do not lint files on enter if the option for linting when the filetype changed is on 2017-09-02 16:57:01 +01:00
test_linter_defintion_processing.vader #517 Add more code LSP support which makes the tssserver linter behave more like the LSP linters 2017-07-26 10:37:37 +01:00
test_linter_retrieval.vader Fix #1128 - Add g:ale_linters_explicit for only enabling linters explicitly 2017-11-14 19:55:46 +00:00
test_linter_type_mapping.vader Fix #536 - Implement linter problem type re-mapping 2017-06-14 17:59:13 +01:00
test_linting_blacklist.vader Fix ALEInfo and some test issues 2017-05-27 23:51:27 +01:00
test_linting_updates_loclist.vader Fix some random test issues for Windows 2017-09-11 00:47:27 +01:00
test_list_formatting.vader Make the message formats configurable with buffer local variables 2017-11-19 23:44:09 +00:00
test_list_opening.vader Option to open lists vertically (#1381) 2018-03-02 20:22:29 +00:00
test_list_titles.vader Fix the mscs tests on Windows, and use the improved Simplify for all tests instead. 2017-12-19 18:23:09 +00:00
test_load_all_linters.vader #427 Implement buffer variable overrides for all linter options 2017-04-16 01:24:08 +01:00
test_loclist_binary_search.vader #653 - Update the loclist binary search to work with buffer numbers, to filter out items for other buffers 2017-08-12 14:27:47 +01:00
test_loclist_corrections.vader #852 Pass on error codes in the loclist corrections 2017-11-13 23:34:00 +00:00
test_loclist_jumping.vader #653 - Filter out other buffers for loclist jumping 2017-08-13 13:02:59 +01:00
test_loclist_sorting.vader #653 Collect items for quickfix from all buffers, and de-duplicate them. Set filename items in quickfix and loclist. 2017-08-19 14:28:51 +01:00
test_nearest_file_search.vader Fix the mscs tests on Windows, and use the improved Simplify for all tests instead. 2017-12-19 18:23:09 +00:00
test_no_linting_on_write_quit.vader Get more tests to pass on Windows 2017-10-18 23:42:51 +01:00
test_path_equality.vader Fix the mscs tests on Windows, and use the improved Simplify for all tests instead. 2017-12-19 18:23:09 +00:00
test_path_upwards.vader Fix #1210 - Fix a Windows path issue which broke TSLint 2017-12-18 13:27:59 +00:00
test_path_uri.vader #1149 Fix conversion from URIs to filenames on Windows 2017-11-20 00:02:33 +00:00
test_pattern_options.vader #1095 Cache the sorting of patterns for g:ale_pattern_options 2017-11-12 10:56:53 +00:00
test_phpcs_executable_detection.vader Fix the mscs tests on Windows, and use the improved Simplify for all tests instead. 2017-12-19 18:23:09 +00:00
test_phpcs_include_code.vader Add test for phpcs error code 2017-10-26 12:22:34 -04:00
test_prepare_command.vader Fix #1298 - Escape commands for PowerShell 2018-01-17 18:08:17 +00:00
test_python_virtualenv.vader Add a test to ensure $VIRTUAL_ENV is respected. 2017-10-11 13:42:38 -07:00
test_quickfix_deduplication.vader #653 Collect items for quickfix from all buffers, and de-duplicate them. Set filename items in quickfix and loclist. 2017-08-19 14:28:51 +01:00
test_quitting_variable.vader #904 - Allow linting to run on save a second after :q fails 2017-10-17 00:37:29 +01:00
test_regex_escaping.vader #756 Escape the paths used for the --include parameter for gometalinter, which uses RE2 2017-07-11 23:47:21 +01:00
test_resolve_local_path.vader Fix the mscs tests on Windows, and use the improved Simplify for all tests instead. 2017-12-19 18:23:09 +00:00
test_results_not_cleared_when_opening_loclist.vader Fix some random test issues for Windows 2017-09-11 00:47:27 +01:00
test_sandbox_execution.vader Fix issues with running individual tests, and get the Vim tests to run on certain machines again 2017-07-09 14:58:21 +01:00
test_semver_utils.vader Simplfy semver handling and share the semver version cache across everything 2017-11-12 10:56:53 +00:00
test_set_list_timers.vader Fix #899 - Make the quickfix and loclist windows close again 2017-09-03 19:44:00 +01:00
test_setting_loclist_from_another_buffer.vader #653 Collect items for quickfix from all buffers, and de-duplicate them. Set filename items in quickfix and loclist. 2017-08-19 14:28:51 +01:00
test_setting_problems_found_in_previous_buffers.vader #653 Set loclists better when taking data from previous buffers 2017-08-22 22:45:55 +01:00
test_shell_detection.vader Fix #1051 - Support ash and dash for shellcheck and the sh linter 2017-10-26 21:21:42 +01:00
test_should_do_nothing_conditions.vader Fix #1048 - Do not lint files named "." 2017-10-26 20:29:33 +01:00
test_sml_command.vader Fix the mscs tests on Windows, and use the improved Simplify for all tests instead. 2017-12-19 18:23:09 +00:00
test_statusline.vader Fix typos 2017-10-03 01:11:54 +09:00
test_temporary_file_management.vader Get some more random tests to work on Windows 2017-09-08 21:51:49 +01:00
test_tflint_config_detection.vader Fix the mscs tests on Windows, and use the improved Simplify for all tests instead. 2017-12-19 18:23:09 +00:00
test_tmpdir_init.vader Get some more random tests to work on Windows 2017-09-08 21:51:49 +01:00
test_verilog_verilator_options.vader Adds an option to pass additional arguments to the verilog/verilator … (#698) 2017-06-29 09:15:52 +01:00
test_vim8_processid_parsing.vader Refactor jobs into a Vim version agnostic API which can be used for other purposes 2017-05-12 21:16:15 +01:00
test_windows_escaping.vader Fix #549 - escape strings more appropriately for use with cmd /c 2017-05-26 00:06:16 +01:00
test_wrap_comand.vader Fix a command wrapper test on Windows 2018-01-17 18:11:20 +00:00
test_writefile_function.vader Fix #823 - Write Windows files with CRLF 2017-08-05 20:17:25 +01:00
vimrc execute the set encoding test setting to get Vint to shut up 2017-09-09 18:22:59 +01:00