aboutsummaryrefslogtreecommitdiffstats
path: root/test/FormattersSpec.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/FormattersSpec.js')
-rw-r--r--test/FormattersSpec.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/FormattersSpec.js b/test/FormattersSpec.js
index 1ebd8e22..234a81d6 100644
--- a/test/FormattersSpec.js
+++ b/test/FormattersSpec.js
@@ -33,13 +33,13 @@ describe("formatter", function(){
assertEquals('a', angular.formatter.trim.format(" a "));
assertEquals('a', angular.formatter.trim.parse(' a '));
});
-
+
describe('json', function(){
it('should treat empty string as null', function(){
expect(angular.formatter.json.parse('')).toEqual(null);
});
});
-
+
describe('index', function(){
it('should parse an object from array', function(){
expect(angular.formatter.index.parse('1', ['A', 'B', 'C'])).toEqual('B');