summaryrefslogtreecommitdiff
path: root/test/handler/test_common_handlers.vader
diff options
context:
space:
mode:
Diffstat (limited to 'test/handler/test_common_handlers.vader')
-rw-r--r--test/handler/test_common_handlers.vader14
1 files changed, 13 insertions, 1 deletions
diff --git a/test/handler/test_common_handlers.vader b/test/handler/test_common_handlers.vader
index 345d7f40..21a6f6a0 100644
--- a/test/handler/test_common_handlers.vader
+++ b/test/handler/test_common_handlers.vader
@@ -53,7 +53,7 @@ Execute (HandleGCCFormat should handle the correct lines of output):
\ 'lnum': 10,
\ 'col': 27,
\ 'type': 'E',
- \ 'text': 'invalid operands to binary - (have ‘int’ and ‘char *’)',
+ \ 'text': 'invalid operands to binary - (have ''int'' and ''char *'')',
\ },
\ ],
\ ale#handlers#gcc#HandleGCCFormat(42, [
@@ -61,6 +61,18 @@ Execute (HandleGCCFormat should handle the correct lines of output):
\ '<stdin>:10:27: error: invalid operands to binary - (have ‘int’ and ‘char *’)',
\ ])
+Execute (HandleGCCFormat should replace Unicode quotes):
+ AssertEqual
+ \ [
+ \ {
+ \ 'lnum': 8,
+ \ 'col': 5,
+ \ 'type': 'W',
+ \ 'text': "'''' \"\"",
+ \ },
+ \ ],
+ \ ale#handlers#gcc#HandleGCCFormat(42, ['<stdin>:8:5: warning: `´‘’ “”'])
+
Execute (HandleUnixFormatAsError should handle some example lines of output):
AssertEqual
\ [