From: Ulrich-Matthias Schäfer Date: Wed, 12 Oct 2016 16:36:31 +0000 (+0200) Subject: fixed id in test which is different in headless browser X-Git-Tag: 2.3.5~2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=9b0408547ed18e15ea9221303c707877ae8e8798;p=svg.js.git fixed id in test which is different in headless browser --- diff --git a/spec/spec/element.js b/spec/spec/element.js index e577566..30d9749 100644 --- a/spec/spec/element.js +++ b/spec/spec/element.js @@ -585,8 +585,8 @@ describe('Element', function() { // Test for different browsers namely Firefox and Chrome expect( - toBeTested === '' - || toBeTested === '').toBeTruthy() + toBeTested === '' + || toBeTested === '').toBeTruthy() }) it('returns partial raw svg when called on a sub group', function() {