summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TODO.txt1
-rw-r--r--changelog/userliterals.md1
-rw-r--r--tests/UnitTests/Compiler/Delimiter/UserLiteralTest.php6
3 files changed, 2 insertions, 6 deletions
diff --git a/TODO.txt b/TODO.txt
index aabbf654..d3e6a394 100644
--- a/TODO.txt
+++ b/TODO.txt
@@ -29,4 +29,3 @@
## Unrelated / other
- review (and avoid) use of 'clone' keyword
-- what is 'user literal support', why are unit tests skipped?
diff --git a/changelog/userliterals.md b/changelog/userliterals.md
new file mode 100644
index 00000000..defc176e
--- /dev/null
+++ b/changelog/userliterals.md
@@ -0,0 +1 @@
+- Re-activated unit tests for user literals, which were previously disabled due to a bug in refactoring to v5. \ No newline at end of file
diff --git a/tests/UnitTests/Compiler/Delimiter/UserLiteralTest.php b/tests/UnitTests/Compiler/Delimiter/UserLiteralTest.php
index 23e0ed0c..70873a89 100644
--- a/tests/UnitTests/Compiler/Delimiter/UserLiteralTest.php
+++ b/tests/UnitTests/Compiler/Delimiter/UserLiteralTest.php
@@ -17,11 +17,7 @@ class UserliteralTest extends PHPUnit_Smarty
{
public function setUp(): void
{
- if (!property_exists('Smarty', 'literals')) {
- $this->markTestSkipped('user literal support');
- } else {
- $this->setUpSmarty(__DIR__);
- }
+ $this->setUpSmarty(__DIR__);
}