diff core/tests/Drupal/Tests/Component/Utility/HtmlTest.php @ 12:7a779792577d

Update Drupal core to v8.4.5 (via Composer)
author Chris Cannam
date Fri, 23 Feb 2018 15:52:07 +0000
parents 4c8ae668cc8c
children 1fec387a4317
line wrap: on
line diff
--- a/core/tests/Drupal/Tests/Component/Utility/HtmlTest.php	Fri Feb 23 15:51:18 2018 +0000
+++ b/core/tests/Drupal/Tests/Component/Utility/HtmlTest.php	Fri Feb 23 15:52:07 2018 +0000
@@ -67,9 +67,10 @@
       [$id1, $id1, []],
       // Verify that valid UTF-8 characters are not stripped from the identifier.
       [$id2, $id2, []],
-      // Verify that invalid characters (including non-breaking space) are stripped from the identifier.
+      // Verify that double underscores are not stripped from the identifier.
       [$id3, $id3],
-      // Verify that double underscores are not stripped from the identifier.
+      // Verify that invalid characters (including non-breaking space) are
+      // stripped from the identifier.
       ['invalididentifier', 'invalid !"#$%&\'()*+,./:;<=>?@[\\]^`{|}~ identifier', []],
       // Verify that an identifier starting with a digit is replaced.
       ['_cssidentifier', '1cssidentifier', []],