Contribution Date
Technology
Contribution Project
Contribution Details
+++ b/core/modules/system/src/Tests/Common/XssUnitTest.php
@@ -41,7 +41,7 @@ function testT() {
- $this->assertEqual($text, 'Verbatim text: <script>', 't replaces verbatim string as-is.');
+ $this->assertEqual($text, 'Verbatim text: <script>', 't replaces and escapes string.');
}
/**
diff --git a/core/modules/system/src/Tests/Theme/TwigTransTest.php b/core/modules/system/src/Tests/Theme/TwigTransTest.php
diff --git a/core/modules/system/src/Tests/Theme/TwigTransTest.php b/core/modules/system/src/Tests/Theme/TwigTransTest.php
index 21aef18..d30e753 100644
index 21aef18..d30e753 100644
--- a/core/modules/system/src/Tests/Theme/TwigTransTest.php
--- a/core/modules/system/src/Tests/Theme/TwigTransTest.php
+++ b/core/modules/system/src/Tests/Theme/TwigTransTest.php
+++ b/core/modules/system/src/Tests/Theme/TwigTransTest.php
+++ b/core/modules/system/src/Tests/Theme/TwigTransTest.php
@@ -139,7 +139,7 @@ protected function assertTwigTransTags() {
@@ -139,7 +139,7 @@ protected function assertTwigTransTags() {
);
$this->assertRaw(
- 'PAS-THRU: &"<>',
+ 'PAS-THRU: &"<>',
I have just updated the tests since now !
will behave similar to @
.
Contribution Issue Link
Contribution Link
Files count
0
Patches count
0