Skip to content

Commit 7c2fa71

Browse files
committed
Tidy up test
1 parent f4f149c commit 7c2fa71

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

tests/phpunit/tests/formatting/sanitizeTitleWithDashes.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,15 +85,17 @@ public function test_replaces_ndash_mdash_entities() {
8585
$this->assertSame( 'do-the-dash', sanitize_title_with_dashes( 'Do — the — Dash', '', 'save' ) );
8686
}
8787

88-
8988
/**
9089
* @ticket 64089
9190
*/
92-
public function test_replaces_nonbreaking_hyphen() {
91+
public function test_replaces_non_breaking_hyphen() {
9392
$this->assertSame( 'do-the-dash', sanitize_title_with_dashes( 'Do‑the Dash', '', 'save' ) );
9493
}
9594

96-
public function test_replaces_nonbreaking_hyphen_entity() {
95+
/**
96+
* @ticket 64089
97+
*/
98+
public function test_replaces_non_breaking_hyphen_entity() {
9799
$this->assertSame( 'do-the-dash', sanitize_title_with_dashes( 'Do ‑ the Dash', '', 'save' ) );
98100
}
99101

0 commit comments

Comments
 (0)