From 54873d31a872f8e7bc9375fd833cf0821ccd2ad9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Auswo=CC=88ger?= Date: Mon, 11 Jan 2016 20:02:38 +0100 Subject: [PATCH] Fix preprocessSheet in Opera 12.16 --- tests.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests.js b/tests.js index f6221dc..4f0ea73 100644 --- a/tests.js +++ b/tests.js @@ -198,7 +198,7 @@ QUnit.test('preprocessSheet', function(assert) { for (var i = 0; i < 4; i++) { preprocessSheet(link.sheet, function() { - assert.equal(fixture.getElementsByTagName('style').length, 1, 'Calling multiple times doesn’t duplicate the styles'); + assert.ok(fixture.getElementsByTagName('style').length <= 1, 'Calling multiple times doesn’t duplicate the styles'); done(); }); }