File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -251,7 +251,7 @@ public function testFilter()
251
251
'dec ' => '256 ' ,
252
252
'hex ' => '0x100 ' ,
253
253
'array ' => ['bang ' ],
254
- ]);
254
+ ]);
255
255
256
256
$ this ->assertEmpty ($ bag ->filter ('nokey ' ), '->filter() should return empty by default if no key is found ' );
257
257
Original file line number Diff line number Diff line change @@ -46,9 +46,9 @@ public function testInitialize()
46
46
$ bag ->initialize ($ array );
47
47
$ this ->assertEquals (['A previous flash message ' ], $ bag ->peek ('notice ' ));
48
48
$ array = ['new ' => [
49
- 'notice ' => ['Something else ' ],
50
- 'error ' => ['a ' ],
51
- ]];
49
+ 'notice ' => ['Something else ' ],
50
+ 'error ' => ['a ' ],
51
+ ]];
52
52
$ bag ->initialize ($ array );
53
53
$ this ->assertEquals (['Something else ' ], $ bag ->peek ('notice ' ));
54
54
$ this ->assertEquals (['a ' ], $ bag ->peek ('error ' ));
@@ -106,13 +106,13 @@ public function testPeekAll()
106
106
$ this ->assertEquals ([
107
107
'notice ' => 'Foo ' ,
108
108
'error ' => 'Bar ' ,
109
- ], $ this ->bag ->peekAll ()
109
+ ], $ this ->bag ->peekAll ()
110
110
);
111
111
112
112
$ this ->assertEquals ([
113
113
'notice ' => 'Foo ' ,
114
114
'error ' => 'Bar ' ,
115
- ], $ this ->bag ->peekAll ()
115
+ ], $ this ->bag ->peekAll ()
116
116
);
117
117
}
118
118
@@ -137,7 +137,7 @@ public function testAll()
137
137
$ this ->bag ->set ('error ' , 'Bar ' );
138
138
$ this ->assertEquals ([
139
139
'notice ' => ['A previous flash message ' ],
140
- ], $ this ->bag ->all ()
140
+ ], $ this ->bag ->all ()
141
141
);
142
142
143
143
$ this ->assertEquals ([], $ this ->bag ->all ());
Original file line number Diff line number Diff line change @@ -141,14 +141,14 @@ public function testPeekAll()
141
141
$ this ->assertEquals ([
142
142
'notice ' => ['Foo ' ],
143
143
'error ' => ['Bar ' ],
144
- ], $ this ->bag ->peekAll ()
144
+ ], $ this ->bag ->peekAll ()
145
145
);
146
146
$ this ->assertTrue ($ this ->bag ->has ('notice ' ));
147
147
$ this ->assertTrue ($ this ->bag ->has ('error ' ));
148
148
$ this ->assertEquals ([
149
149
'notice ' => ['Foo ' ],
150
150
'error ' => ['Bar ' ],
151
- ], $ this ->bag ->peekAll ()
151
+ ], $ this ->bag ->peekAll ()
152
152
);
153
153
}
154
154
}
You can’t perform that action at this time.
0 commit comments