diff --git a/core/modules/locale/tests/locale_test.es6.js b/core/modules/locale/tests/locale_test.es6.js
index ba62b7504e..4fbff295ee 100644
--- a/core/modules/locale/tests/locale_test.es6.js
+++ b/core/modules/locale/tests/locale_test.es6.js
@@ -13,7 +13,22 @@ Drupal
     "Whitespace Call t"
   )
 ;
-
+Drupal . t ( 'wired spacing' ) ;
+Drupal	.	t	(	'tab'	)	;
+Drupal
+	.
+	t
+	(
+	'tab with newline tabs'
+	)
+;
+Drupal
+      .
+      t
+      (
+           'tab with newline tabs with wired spacing'
+      )
+;
 Drupal.t('Single Quote t');
 Drupal.t('Single Quote \'Escaped\' t');
 Drupal.t('Single Quote ' + 'Concat ' + 'strings ' + 't');
@@ -27,6 +42,19 @@ Drupal.t("Context Single Quoted t", {}, {'context': "Context string single quote
 Drupal.t("Context Double Quoted t", {}, {"context": "Context string double quoted"});
 
 Drupal.t("Context !key Args t", {'!key': 'value'}, {context: "Context string"});
+Drupal.t("With wired spacing. Context !key Args t", {
+    '' +
+        '!key'
+:
+'value'
+}
+,
+{
+    context
+        :
+        "Context string"}
+        )
+;
 
 Drupal.formatPlural(1, "Standard Call plural", "Standard Call @count plural");
 Drupal
@@ -38,12 +66,32 @@ Drupal
     "Whitespace Call @count plural"
   )
 ;
-
+Drupal . formatPlural ( 1 ,   "wired spacing" , " wired spacing " ) ;
+Drupal
+	.
+	formatPlural
+	(
+		1,
+		"tab with newline tabs",
+		"tab with newline tabs @count"
+	)
+;
+Drupal
+	 .
+	    formatPlural
+	 (
+		1,
+		"tab with newline tabs with wired spacing",
+		"tab with newline tabs with wired spacing @count"
+	 )
+;
 Drupal.formatPlural(1, 'Single Quote plural', 'Single Quote @count plural');
 Drupal.formatPlural(1, 'Single Quote \'Escaped\' plural', 'Single Quote \'Escaped\' @count plural');
+Drupal.formatPlural(1, 'Single Quote ' + 'Concat ' + 'plural', 'Single Quote ' + 'Concat ' + 'plural' + '@count');
 
 Drupal.formatPlural(1, "Double Quote plural", "Double Quote @count plural");
 Drupal.formatPlural(1, "Double Quote \"Escaped\" plural", "Double Quote \"Escaped\" @count plural");
+Drupal.formatPlural(1, 'Double Quote ' + 'Concat ' + 'plural', 'Double Quote ' + 'Concat ' + 'plural' + '@count');
 
 Drupal.formatPlural(1, "Context Unquoted plural", "Context Unquoted @count plural", {}, {context: "Context string unquoted"});
 Drupal.formatPlural(1, "Context Single Quoted plural", "Context Single Quoted @count plural", {}, {'context': "Context string single quoted"});
