Skip to content

Commit a6894e6

Browse files
authored
Tweak title to match the test name in TrimStringsTest (#44907)
1 parent 5df600f commit a6894e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Http/Middleware/TrimStringsTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,13 +106,13 @@ public function test_combination_of_leading_and_trailing_zero_width_non_breakabl
106106
$request = new Request;
107107

108108
$request->merge([
109-
'title' => '​This title contains a zero-width non-breakable space at the end​',
109+
'title' => '​This title contains a combination of zero-width non-breakable space and zero-widh spaces characters at the begining and the end​',
110110
]);
111111

112112
$middleware = new TrimStrings;
113113

114114
$middleware->handle($request, function ($req) {
115-
$this->assertEquals('This title contains a zero-width non-breakable space at the end', $req->title);
115+
$this->assertEquals('This title contains a combination of zero-width non-breakable space and zero-widh spaces characters at the begining and the end', $req->title);
116116
});
117117
}
118118
}

0 commit comments

Comments
 (0)