From 17f856849d91dc60ab05f15d05f0a222e1fd216d Mon Sep 17 00:00:00 2001 From: Nicky Gerritsen Date: Thu, 19 May 2016 09:47:27 +0200 Subject: [PATCH] @nickygerritsen Fix test for tooltips in IE8. closes #3327 --- CHANGELOG.md | 1 + test/unit/button.test.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6c92cc8539..3d66d1a192 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ CHANGELOG * @nickygerritsen Update Dutch language file ([view](https://github.com/videojs/video.js/pull/3297)) * @hartman Add descriptions and audio button to adaptive classes ([view](https://github.com/videojs/video.js/pull/3312)) * @MattiasBuelens Retain details from tech error ([view](https://github.com/videojs/video.js/pull/3313)) +* @nickygerritsen Fix test for tooltips in IE8 ([view](https://github.com/videojs/video.js/pull/3327)) -------------------- diff --git a/test/unit/button.test.js b/test/unit/button.test.js index 23887eb5da..10bb1c60ae 100644 --- a/test/unit/button.test.js +++ b/test/unit/button.test.js @@ -22,6 +22,6 @@ test('should localize its text', function(){ el = testButton.createEl(); ok(el.nodeName.toLowerCase().match('button')); - ok(el.innerHTML.match('vjs-control-text">Juego')); + ok(el.innerHTML.match(/vjs-control-text"?>Juego/)); equal(el.getAttribute('title'), 'Juego'); });