9
9
class TrimStringsTest extends TestCase
10
10
{
11
11
/**
12
- * Test no zero-width space character returns the same string
12
+ * Test no zero-width space character returns the same string.
13
13
*/
14
14
public function test_no_zero_width_space_character_returns_the_same_string ()
15
15
{
16
16
$ request = new Request ;
17
17
18
18
$ request ->merge ([
19
- 'title ' => 'This title does not contains any zero-width space '
19
+ 'title ' => 'This title does not contains any zero-width space ' ,
20
20
]);
21
21
22
22
$ middleware = new TrimStrings ;
@@ -27,14 +27,14 @@ public function test_no_zero_width_space_character_returns_the_same_string()
27
27
}
28
28
29
29
/**
30
- * Test leading zero-width space character is trimmed [ZWSP]
30
+ * Test leading zero-width space character is trimmed [ZWSP].
31
31
*/
32
32
public function test_leading_zero_width_space_character_is_trimmed ()
33
33
{
34
34
$ request = new Request ;
35
35
36
36
$ request ->merge ([
37
- 'title ' => 'This title contains a zero-width space at the begining '
37
+ 'title ' => 'This title contains a zero-width space at the begining ' ,
38
38
]);
39
39
40
40
$ middleware = new TrimStrings ;
@@ -45,14 +45,14 @@ public function test_leading_zero_width_space_character_is_trimmed()
45
45
}
46
46
47
47
/**
48
- * Test trailing zero-width space character is trimmed [ZWSP]
48
+ * Test trailing zero-width space character is trimmed [ZWSP].
49
49
*/
50
50
public function test_trailing_zero_width_space_character_is_trimmed ()
51
51
{
52
52
$ request = new Request ;
53
53
54
54
$ request ->merge ([
55
- 'title ' => 'This title contains a zero-width space at the end '
55
+ 'title ' => 'This title contains a zero-width space at the end ' ,
56
56
]);
57
57
58
58
$ middleware = new TrimStrings ;
@@ -63,14 +63,14 @@ public function test_trailing_zero_width_space_character_is_trimmed()
63
63
}
64
64
65
65
/**
66
- * Test leading zero-width non-breakable space character is trimmed [ZWNBSP]
66
+ * Test leading zero-width non-breakable space character is trimmed [ZWNBSP].
67
67
*/
68
68
public function test_leading_zero_width_non_breakable_space_character_is_trimmed ()
69
69
{
70
70
$ request = new Request ;
71
71
72
72
$ request ->merge ([
73
- 'title ' => 'This title contains a zero-width non-breakable space at the begining '
73
+ 'title ' => 'This title contains a zero-width non-breakable space at the begining ' ,
74
74
]);
75
75
76
76
$ middleware = new TrimStrings ;
@@ -81,14 +81,14 @@ public function test_leading_zero_width_non_breakable_space_character_is_trimmed
81
81
}
82
82
83
83
/**
84
- * Test leading multiple zero-width non-breakable space characters are trimmed [ZWNBSP]
84
+ * Test leading multiple zero-width non-breakable space characters are trimmed [ZWNBSP].
85
85
*/
86
86
public function test_leading_multiple_zero_width_non_breakable_space_characters_are_trimmed ()
87
87
{
88
88
$ request = new Request ;
89
89
90
90
$ request ->merge ([
91
- 'title ' => 'This title contains a zero-width non-breakable space at the begining '
91
+ 'title ' => 'This title contains a zero-width non-breakable space at the begining ' ,
92
92
]);
93
93
94
94
$ middleware = new TrimStrings ;
@@ -99,14 +99,14 @@ public function test_leading_multiple_zero_width_non_breakable_space_characters_
99
99
}
100
100
101
101
/**
102
- * Test a combination of leading and trailing zero-width non-breakable space and zero-width space characters are trimmed [ZWNBSP], [ZWSP]
102
+ * Test a combination of leading and trailing zero-width non-breakable space and zero-width space characters are trimmed [ZWNBSP], [ZWSP].
103
103
*/
104
104
public function test_combination_of_leading_and_trailing_zero_width_non_breakable_space_and_zero_width_space_characters_are_trimmed ()
105
105
{
106
106
$ request = new Request ;
107
107
108
108
$ request ->merge ([
109
- 'title ' => 'This title contains a zero-width non-breakable space at the end '
109
+ 'title ' => 'This title contains a zero-width non-breakable space at the end ' ,
110
110
]);
111
111
112
112
$ middleware = new TrimStrings ;
0 commit comments