From 05fb07fbc6c3a9fcccd69b03b01bf063f524868b Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Thu, 30 Sep 2021 12:31:12 +1000 Subject: [PATCH] Add tests for // --- test/normal/paste-all-after/cmd | 1 + test/normal/{concat-paste => paste-all-after}/in | 0 test/normal/paste-all-after/out | 1 + test/normal/{concat-paste => paste-all-before}/cmd | 0 test/normal/paste-all-before/in | 1 + test/normal/{concat-paste => paste-all-before}/out | 0 test/normal/paste-all-replace/cmd | 1 + test/normal/paste-all-replace/in | 1 + test/normal/paste-all-replace/out | 1 + 9 files changed, 6 insertions(+) create mode 100644 test/normal/paste-all-after/cmd rename test/normal/{concat-paste => paste-all-after}/in (100%) create mode 100644 test/normal/paste-all-after/out rename test/normal/{concat-paste => paste-all-before}/cmd (100%) create mode 100644 test/normal/paste-all-before/in rename test/normal/{concat-paste => paste-all-before}/out (100%) create mode 100644 test/normal/paste-all-replace/cmd create mode 100644 test/normal/paste-all-replace/in create mode 100644 test/normal/paste-all-replace/out diff --git a/test/normal/paste-all-after/cmd b/test/normal/paste-all-after/cmd new file mode 100644 index 00000000..ac496a53 --- /dev/null +++ b/test/normal/paste-all-after/cmd @@ -0,0 +1 @@ +y diff --git a/test/normal/concat-paste/in b/test/normal/paste-all-after/in similarity index 100% rename from test/normal/concat-paste/in rename to test/normal/paste-all-after/in diff --git a/test/normal/paste-all-after/out b/test/normal/paste-all-after/out new file mode 100644 index 00000000..8de765ac --- /dev/null +++ b/test/normal/paste-all-after/out @@ -0,0 +1 @@ +-foofoobarbaz-barfoobarbaz-bazfoobarbaz- diff --git a/test/normal/concat-paste/cmd b/test/normal/paste-all-before/cmd similarity index 100% rename from test/normal/concat-paste/cmd rename to test/normal/paste-all-before/cmd diff --git a/test/normal/paste-all-before/in b/test/normal/paste-all-before/in new file mode 100644 index 00000000..5d11abbf --- /dev/null +++ b/test/normal/paste-all-before/in @@ -0,0 +1 @@ +-%(foo)-%(bar)-%(baz)- diff --git a/test/normal/concat-paste/out b/test/normal/paste-all-before/out similarity index 100% rename from test/normal/concat-paste/out rename to test/normal/paste-all-before/out diff --git a/test/normal/paste-all-replace/cmd b/test/normal/paste-all-replace/cmd new file mode 100644 index 00000000..e8cea172 --- /dev/null +++ b/test/normal/paste-all-replace/cmd @@ -0,0 +1 @@ +y diff --git a/test/normal/paste-all-replace/in b/test/normal/paste-all-replace/in new file mode 100644 index 00000000..5d11abbf --- /dev/null +++ b/test/normal/paste-all-replace/in @@ -0,0 +1 @@ +-%(foo)-%(bar)-%(baz)- diff --git a/test/normal/paste-all-replace/out b/test/normal/paste-all-replace/out new file mode 100644 index 00000000..72956b41 --- /dev/null +++ b/test/normal/paste-all-replace/out @@ -0,0 +1 @@ +-foobarbaz-foobarbaz-foobarbaz-