From 7d32f8dd8afcba32b20d87e0c76c601756932347 Mon Sep 17 00:00:00 2001 From: d4tocchini Date: Thu, 11 Dec 2014 16:46:23 -0800 Subject: [PATCH] random special selector test --- spec/compiler.coffee | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/spec/compiler.coffee b/spec/compiler.coffee index 8589b8e..bc514ad 100644 --- a/spec/compiler.coffee +++ b/spec/compiler.coffee @@ -310,6 +310,14 @@ describe 'CCSS-to-AST', -> ] } + parse "^[left] + [base] == &[left]", + { + commands: [ + ['==', ['+',['get',['^'],'x'],['get','base']] , ['get',['&'],'x'] ] + ] + } + + # Selectors as selector call context