From 0fad62d6b1b5a1553acf6cb80f1847a5f111c493 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Fri, 6 Jan 2017 19:55:50 +0000 Subject: [PATCH] Add regression test case for #1111 --- .../1111-unexpected-behaviour-on-new-line-in-comment/cmd | 1 + .../1111-unexpected-behaviour-on-new-line-in-comment/in | 2 ++ .../1111-unexpected-behaviour-on-new-line-in-comment/out | 3 +++ .../1111-unexpected-behaviour-on-new-line-in-comment/rc | 3 +++ 4 files changed, 9 insertions(+) create mode 100644 test/regression/1111-unexpected-behaviour-on-new-line-in-comment/cmd create mode 100644 test/regression/1111-unexpected-behaviour-on-new-line-in-comment/in create mode 100644 test/regression/1111-unexpected-behaviour-on-new-line-in-comment/out create mode 100644 test/regression/1111-unexpected-behaviour-on-new-line-in-comment/rc diff --git a/test/regression/1111-unexpected-behaviour-on-new-line-in-comment/cmd b/test/regression/1111-unexpected-behaviour-on-new-line-in-comment/cmd new file mode 100644 index 00000000..54aed4f8 --- /dev/null +++ b/test/regression/1111-unexpected-behaviour-on-new-line-in-comment/cmd @@ -0,0 +1 @@ +i diff --git a/test/regression/1111-unexpected-behaviour-on-new-line-in-comment/in b/test/regression/1111-unexpected-behaviour-on-new-line-in-comment/in new file mode 100644 index 00000000..6939faf6 --- /dev/null +++ b/test/regression/1111-unexpected-behaviour-on-new-line-in-comment/in @@ -0,0 +1,2 @@ +// test te%(s)t +// foo bar diff --git a/test/regression/1111-unexpected-behaviour-on-new-line-in-comment/out b/test/regression/1111-unexpected-behaviour-on-new-line-in-comment/out new file mode 100644 index 00000000..84179c6b --- /dev/null +++ b/test/regression/1111-unexpected-behaviour-on-new-line-in-comment/out @@ -0,0 +1,3 @@ +// test te +// st +// foo bar diff --git a/test/regression/1111-unexpected-behaviour-on-new-line-in-comment/rc b/test/regression/1111-unexpected-behaviour-on-new-line-in-comment/rc new file mode 100644 index 00000000..53c40654 --- /dev/null +++ b/test/regression/1111-unexpected-behaviour-on-new-line-in-comment/rc @@ -0,0 +1,3 @@ +source "%val{runtime}/colors/default.kak" +source "%val{runtime}/rc/core/c-family.kak" +set buffer filetype cpp