From d012fd1f09c4ffb89130110fa37d4e10fb1c9b6b Mon Sep 17 00:00:00 2001 From: w0rp Date: Sat, 20 May 2017 12:57:41 +0100 Subject: Revert "Fix #556 Remove duplicate error messages from clang++" This reverts commit 164c4efb323f77e27942a824bd84fae91eb16db4. --- test/handler/test_gcc_handler.vader | 26 -------------------------- 1 file changed, 26 deletions(-) (limited to 'test') diff --git a/test/handler/test_gcc_handler.vader b/test/handler/test_gcc_handler.vader index 2934bbee..72b7c541 100644 --- a/test/handler/test_gcc_handler.vader +++ b/test/handler/test_gcc_handler.vader @@ -94,29 +94,3 @@ Execute(The GCC handler shouldn't complain about #pragma once for headers): \ ale#handlers#gcc#HandleGCCFormat(347, [ \ ':1:1: warning: #pragma once in main file [enabled by default]', \ ]) - -Execute(The GCC handler should eliminate duplicated clang errors): - AssertEqual - \ [ - \ {'lnum': 2, 'col': 10, 'type': 'E', 'text': '''a.h'' file not found'}, - \ {'lnum': 4, 'col': 10, 'type': 'E', 'text': 'empty filename'}, - \ ], - \ ale#handlers#gcc#HandleGCCFormat(347, [ - \ ':2:10: fatal error: ''a.h'' file not found', - \ '#include "a.h"', - \ ' ^~~~~', - \ '', - \ ':2:10: fatal error: ''a.h'' file not found', - \ '#include "a.h"', - \ ' ^~~~~', - \ '', - \ ':4:10: error: empty filename', - \ '', - \ ':4:10: error: empty filename', - \ '#include ""', - \ ' ^', - \ '', - \ ':4:10: error: empty filename', - \ '#include ""', - \ ' ^', - \ ]) -- cgit v1.2.3