Skip to content

Commit 0466c13

Browse files
committed
test(localStorage): object contains boolean-like strings
1 parent 2c766af commit 0466c13

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/spec/localStorageSpec.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -205,8 +205,8 @@ describe('localStorageService', function() {
205205
);
206206
});
207207

208-
it('should be able to set and get objects contains boolean - issue #225', function() {
209-
var t = {x: true, y: false};
208+
it('should be able to set and get objects contains boolean-like strings - issue #225', function() {
209+
var t = {x: 'true', y: 'false'};
210210
inject(
211211
addItem('key', t),
212212
expectAdding('ls.key', angular.toJson(t)),

0 commit comments

Comments
 (0)