| Index: sky/tests/styles/media-queries.sky
|
| diff --git a/sky/tests/styles/media-queries.sky b/sky/tests/styles/media-queries.sky
|
| index ff4f618738d9cf04d244be8db2b6b9d9688a90cd..9938e9b1babc2d7b8e2d6124eff613d735a3da86 100644
|
| --- a/sky/tests/styles/media-queries.sky
|
| +++ b/sky/tests/styles/media-queries.sky
|
| @@ -22,14 +22,12 @@ void main() {
|
|
|
| test('should allow sheets to apply when they match', () {
|
| var element = document.getElementById('matches');
|
| - expect(window.getComputedStyle(element).getPropertyValue("color"),
|
| - equals("rgb(255, 0, 0)"));
|
| + expect(window.getComputedStyle(element)["color"], equals("rgb(255, 0, 0)"));
|
| });
|
|
|
| test('should cause sheets to be skipped when they do not match', () {
|
| var element = document.getElementById('does-not-match');
|
| - expect(window.getComputedStyle(element).getPropertyValue("color"),
|
| - "rgb(0, 0, 0)");
|
| + expect(window.getComputedStyle(element)["color"], equals("rgb(0, 0, 0)"));
|
| });
|
| }
|
| </script>
|
|
|