diff options
Diffstat (limited to 'toolkit/components/microformats/test/interface-tests/experimental-test.js')
-rw-r--r-- | toolkit/components/microformats/test/interface-tests/experimental-test.js | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/toolkit/components/microformats/test/interface-tests/experimental-test.js b/toolkit/components/microformats/test/interface-tests/experimental-test.js deleted file mode 100644 index 4d32b83c0..000000000 --- a/toolkit/components/microformats/test/interface-tests/experimental-test.js +++ /dev/null @@ -1,37 +0,0 @@ -/* -Unit test for get -*/ - -assert = chai.assert; - - -describe('experimental', function() { - - it('h-geo - geo data writen as lat;lon', function(){ - - var expected = { - 'items': [{ - 'type': ['h-geo'], - 'properties': { - 'name': ['30.267991;-97.739568'], - 'latitude': [30.267991], - 'longitude': [-97.739568] - } - }], - 'rels': {}, - 'rel-urls': {} - }, - options = { - 'html': '<div class="h-geo">30.267991;-97.739568</div>', - 'baseUrl': 'http://example.com', - 'dateFormat': 'html5', - 'parseLatLonGeo': true - }; - - var result = Microformats.get(options); - assert.deepEqual( result, expected ); - - }); - - -}); |