From 8319e0f8c7e11a6c5f6aa58fb7669f6ccb2651df Mon Sep 17 00:00:00 2001 From: w0rp Date: Fri, 19 Mar 2021 21:55:15 +0000 Subject: Fix a typo in a test filename --- test/handler/test_systemd_analyze_hander.vader | 19 ------------------- test/handler/test_systemd_analyze_handler.vader | 19 +++++++++++++++++++ 2 files changed, 19 insertions(+), 19 deletions(-) delete mode 100644 test/handler/test_systemd_analyze_hander.vader create mode 100644 test/handler/test_systemd_analyze_handler.vader (limited to 'test') diff --git a/test/handler/test_systemd_analyze_hander.vader b/test/handler/test_systemd_analyze_hander.vader deleted file mode 100644 index c7d668e0..00000000 --- a/test/handler/test_systemd_analyze_hander.vader +++ /dev/null @@ -1,19 +0,0 @@ -Before: - runtime ale_linters/systemd/systemd_analyze.vim - -After: - call ale#linter#Reset() - -Execute(The systemd-analyze handler should parse lines correctly): - AssertEqual - \ [ - \ { - \ 'lnum': 9, - \ 'col': 1, - \ 'type': 'W', - \ 'text': 'Unknown key name ''Wat'' in section ''Service'', ignoring.', - \ }, - \ ], - \ ale_linters#systemd#systemd_analyze#Handle(bufnr(''), [ - \ '/home/user/.config/systemd/user/foo.service:9: Unknown key name ''Wat'' in section ''Service'', ignoring.', - \ ]) diff --git a/test/handler/test_systemd_analyze_handler.vader b/test/handler/test_systemd_analyze_handler.vader new file mode 100644 index 00000000..c7d668e0 --- /dev/null +++ b/test/handler/test_systemd_analyze_handler.vader @@ -0,0 +1,19 @@ +Before: + runtime ale_linters/systemd/systemd_analyze.vim + +After: + call ale#linter#Reset() + +Execute(The systemd-analyze handler should parse lines correctly): + AssertEqual + \ [ + \ { + \ 'lnum': 9, + \ 'col': 1, + \ 'type': 'W', + \ 'text': 'Unknown key name ''Wat'' in section ''Service'', ignoring.', + \ }, + \ ], + \ ale_linters#systemd#systemd_analyze#Handle(bufnr(''), [ + \ '/home/user/.config/systemd/user/foo.service:9: Unknown key name ''Wat'' in section ''Service'', ignoring.', + \ ]) -- cgit v1.2.3