From 4671f08fe05521d8f3d3d843f30576cb651ccd1b Mon Sep 17 00:00:00 2001 From: Laria Carolin Chabowski Date: Fri, 1 May 2020 21:58:22 +0200 Subject: Fix cutting off whitespace in tag content --- tests/test_short_for_additional_attribs/.gitignore | 3 +++ tests/test_short_for_additional_attribs/code.php | 12 ++++++++++++ tests/test_short_for_additional_attribs/test.tpl | 5 +++++ tests/test_short_for_additional_attribs/want | 5 +++++ 4 files changed, 25 insertions(+) create mode 100644 tests/test_short_for_additional_attribs/.gitignore create mode 100644 tests/test_short_for_additional_attribs/code.php create mode 100644 tests/test_short_for_additional_attribs/test.tpl create mode 100644 tests/test_short_for_additional_attribs/want (limited to 'tests') diff --git a/tests/test_short_for_additional_attribs/.gitignore b/tests/test_short_for_additional_attribs/.gitignore new file mode 100644 index 0000000..de2a41b --- /dev/null +++ b/tests/test_short_for_additional_attribs/.gitignore @@ -0,0 +1,3 @@ +have +*.ast +*.transc.php diff --git a/tests/test_short_for_additional_attribs/code.php b/tests/test_short_for_additional_attribs/code.php new file mode 100644 index 0000000..5d75d34 --- /dev/null +++ b/tests/test_short_for_additional_attribs/code.php @@ -0,0 +1,12 @@ +set_var_by_name("data", array( + array('content' => 'foo', 'foo' => true), + array('content' => 'bar', 'foo' => false), + array('content' => 'baz', 'foo' => false), + )); +} diff --git a/tests/test_short_for_additional_attribs/test.tpl b/tests/test_short_for_additional_attribs/test.tpl new file mode 100644 index 0000000..e6b30e4 --- /dev/null +++ b/tests/test_short_for_additional_attribs/test.tpl @@ -0,0 +1,5 @@ + \ No newline at end of file diff --git a/tests/test_short_for_additional_attribs/want b/tests/test_short_for_additional_attribs/want new file mode 100644 index 0000000..c46d63f --- /dev/null +++ b/tests/test_short_for_additional_attribs/want @@ -0,0 +1,5 @@ + -- cgit v1.2.3-70-g09d2