From 88209158cc99b4d4a8846404dfde9461c691aab4 Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Wed, 2 Aug 2023 16:29:45 +0200 Subject: [PATCH] Fix test failing due to attribute order MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Let's fix by hand for this time and see if happen again… --- umap/static/umap/test/Util.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/umap/static/umap/test/Util.js b/umap/static/umap/test/Util.js index 57c75b2d..a497a459 100644 --- a/umap/static/umap/test/Util.js +++ b/umap/static/umap/test/Util.js @@ -108,35 +108,35 @@ describe('L.Util', function () { it('should handle image with width', function () { assert.equal( L.Util.toHTML('A simple image: {{http://osm.org/pouet.png|100}}'), - 'A simple image: ' + 'A simple image: ' ) }) it('should handle iframe', function () { assert.equal( L.Util.toHTML('A simple iframe: {{{http://osm.org/pouet.html}}}'), - 'A simple iframe:
' + 'A simple iframe:
' ) }) it('should handle iframe with height', function () { assert.equal( L.Util.toHTML('A simple iframe: {{{http://osm.org/pouet.html|200}}}'), - 'A simple iframe:
' + 'A simple iframe:
' ) }) it('should handle iframe with height and width', function () { assert.equal( L.Util.toHTML('A simple iframe: {{{http://osm.org/pouet.html|200*400}}}'), - 'A simple iframe:
' + 'A simple iframe:
' ) }) it('should handle iframe with height with px', function () { assert.equal( L.Util.toHTML('A simple iframe: {{{http://osm.org/pouet.html|200px}}}'), - 'A simple iframe:
' + 'A simple iframe:
' ) }) @@ -145,7 +145,7 @@ describe('L.Util', function () { L.Util.toHTML( 'A simple iframe: {{{https://osm.org/?url=https%3A//anotherurl.com}}}' ), - 'A simple iframe:
' + 'A simple iframe:
' ) }) @@ -154,7 +154,7 @@ describe('L.Util', function () { L.Util.toHTML( 'A double iframe: {{{https://osm.org/pouet}}}{{{https://osm.org/boudin}}}' ), - 'A double iframe:
' + 'A double iframe:
' ) })