Skip to content

Commit 5a12ce4

Browse files
committed
fixing spec
1 parent 1184b11 commit 5a12ce4

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

test/geometry/symbol/SymbolSpec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ describe('SymbolSpec', function () {
201201
});
202202
var res = polygon._getExternalResources();
203203
expect(res).to.have.length(1);
204-
expect(res[0][0]).to.be.eql(resources/x.svg);
204+
expect(res[0][0]).to.be.eql('resources/x.svg');
205205
});
206206

207207
it('with a non-exist svg icon', function (done) {

test/layer/ImageLayerSpec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ describe('Layer.ImageLayer', function () {
7171
if (maptalks.Browser.ie) {
7272
expect(layer).to.be.painted(1, 1, [0, 0, 0, 128]);
7373
} else {
74-
expect(layer).to.be.painted(1, 1, [0, 0, 0, 58]);
74+
expect(layer).to.be.painted(1, 1, [0, 0, 0, 56]);
7575
}
7676
done();
7777
});

test/map/MapCameraSpec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ describe('Map.Camera', function () {
544544
it('should generate dom css matrix', function () {
545545
map.setPitch(75);
546546
map.setBearing(45);
547-
expect(maptalks.Util.join(map.domCssMatrix)).to.be.eql([31.819805153394643,-8.235571585149868,0.4403135308427733,0.6830127018922193,31.819805153394636,8.23557158514987,-0.4403135308427734,-0.6830127018922194,0,-43.466662183008076,-0.16685125662045044,-0.25881904510252074,0,0,28.501478623873567,45].join());
547+
expect(maptalks.Util.join(map.domCssMatrix)).to.be.eql([31.819805153394643,-8.235571585149868,0.8554549536393147,0.6830127018922193,31.819805153394636,8.23557158514987,-0.8554549536393148,-0.6830127018922194,0,-43.466662183008076,-0.32416386051937174,-0.25881904510252074,0,0,55.66501093030995,45].join());
548548
});
549549
});
550550

0 commit comments

Comments
 (0)