From eaf84c553d3ad4fb644369944a3d67f9e3720f13 Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Fri, 7 Feb 2020 22:04:37 +0100 Subject: [PATCH] Port line-continuation test to littlecheck --- .../{line-continuation.in => checks/line-continuation.fish} | 6 ++++++ tests/line-continuation.err | 0 tests/line-continuation.out | 5 ----- 3 files changed, 6 insertions(+), 5 deletions(-) rename tests/{line-continuation.in => checks/line-continuation.fish} (62%) delete mode 100644 tests/line-continuation.err delete mode 100644 tests/line-continuation.out diff --git a/tests/line-continuation.in b/tests/checks/line-continuation.fish similarity index 62% rename from tests/line-continuation.in rename to tests/checks/line-continuation.fish index a1ac92932..22f17d6ea 100644 --- a/tests/line-continuation.in +++ b/tests/checks/line-continuation.fish @@ -1,11 +1,15 @@ +#RUN: %fish %s ech\ o echo +#CHECK: echo buil\ tin echo builtin echo +#CHECK: builtin echo true; an\ d echo true +#CHECK: true \i\ \U00000066\ @@ -15,6 +19,7 @@ d echo true \145n\ d\ ; +#CHECK: if true 'if'\ true @@ -23,3 +28,4 @@ d\ en\ d\ "; +#CHECK: if true diff --git a/tests/line-continuation.err b/tests/line-continuation.err deleted file mode 100644 index e69de29bb..000000000 diff --git a/tests/line-continuation.out b/tests/line-continuation.out deleted file mode 100644 index 053209a56..000000000 --- a/tests/line-continuation.out +++ /dev/null @@ -1,5 +0,0 @@ -echo -builtin echo -true -if true -if true