aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2013-03-31 12:35:57 +0100
committerMichael Williamson <mike@zwobble.org>2013-03-31 12:35:57 +0100
commit24b17947c668bc1f3392aa332804d9b57f76618a (patch)
tree40612e9faa45d8d5912de8021d4adcdd6f14b2f0 /tests
parent099c86ab5fabea429eb226fbff179f0317ec755c (diff)
Require ">" between nested elements in style
Diffstat (limited to 'tests')
-rw-r--r--tests/style-reader.tests.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/style-reader.tests.js b/tests/style-reader.tests.js
index 11e5364..7ec2d06 100644
--- a/tests/style-reader.tests.js
+++ b/tests/style-reader.tests.js
@@ -10,7 +10,7 @@ describe('styleReader.read', function() {
});
test('reads nested elements', function() {
- assert.deepEqual(styleReader.read("ul li"), styles.elements(["ul", "li"]));
+ assert.deepEqual(styleReader.read("ul > li"), styles.elements(["ul", "li"]));
});
test('reads class on element', function() {