From: denisanisimov Date: Thu, 30 Jan 2014 09:38:59 +0000 (+0200) Subject: Fix false-negative sasslangbroken tests (#13275). X-Git-Tag: 7.2.0.beta1~201 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f52c25fbb87d4c872304323d8ab42ba6d3ea0497;p=vaadin-framework.git Fix false-negative sasslangbroken tests (#13275). Change-Id: I184418667c1de63cbdbc26d75f2268415a8f06f9 --- diff --git a/theme-compiler/tests/resources/sasslang/css/350-test_interpolation.css b/theme-compiler/tests/resources/sasslang/css/350-test_interpolation.css new file mode 100644 index 0000000000..8b44646800 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/350-test_interpolation.css @@ -0,0 +1,3 @@ +ul li#foo a span.label { + foo: bar; +} diff --git a/theme-compiler/tests/resources/sasslang/css/390-test_parent_selector_with_parent_and_subject.scss b/theme-compiler/tests/resources/sasslang/css/390-test_parent_selector_with_parent_and_subject.scss new file mode 100644 index 0000000000..646238f379 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/390-test_parent_selector_with_parent_and_subject.scss @@ -0,0 +1,3 @@ +$subject: "!"; +foo { + bar &.baz#{$subject} .bip {c: d}} diff --git a/theme-compiler/tests/resources/sasslang/scss/350-test_interpolation.scss b/theme-compiler/tests/resources/sasslang/scss/350-test_interpolation.scss new file mode 100644 index 0000000000..bb9c9a2c8f --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/scss/350-test_interpolation.scss @@ -0,0 +1,2 @@ +$bar : "#foo"; +ul li#{$bar} a span.label { foo: bar; } diff --git a/theme-compiler/tests/resources/sasslang/scss/390-test_parent_selector_with_parent_and_subject.css b/theme-compiler/tests/resources/sasslang/scss/390-test_parent_selector_with_parent_and_subject.css new file mode 100644 index 0000000000..234fea7aa5 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/scss/390-test_parent_selector_with_parent_and_subject.css @@ -0,0 +1,3 @@ +bar foo.baz! .bip { + c: d; +} diff --git a/theme-compiler/tests/resources/sasslangbroken/css/350-test_interpolation.css b/theme-compiler/tests/resources/sasslangbroken/css/350-test_interpolation.css deleted file mode 100644 index 8b44646800..0000000000 --- a/theme-compiler/tests/resources/sasslangbroken/css/350-test_interpolation.css +++ /dev/null @@ -1,3 +0,0 @@ -ul li#foo a span.label { - foo: bar; -} diff --git a/theme-compiler/tests/resources/sasslangbroken/css/390-test_parent_selector_with_parent_and_subject.css b/theme-compiler/tests/resources/sasslangbroken/css/390-test_parent_selector_with_parent_and_subject.css deleted file mode 100644 index 234fea7aa5..0000000000 --- a/theme-compiler/tests/resources/sasslangbroken/css/390-test_parent_selector_with_parent_and_subject.css +++ /dev/null @@ -1,3 +0,0 @@ -bar foo.baz! .bip { - c: d; -} diff --git a/theme-compiler/tests/resources/sasslangbroken/scss/350-test_interpolation.scss b/theme-compiler/tests/resources/sasslangbroken/scss/350-test_interpolation.scss deleted file mode 100644 index bb9c9a2c8f..0000000000 --- a/theme-compiler/tests/resources/sasslangbroken/scss/350-test_interpolation.scss +++ /dev/null @@ -1,2 +0,0 @@ -$bar : "#foo"; -ul li#{$bar} a span.label { foo: bar; } diff --git a/theme-compiler/tests/resources/sasslangbroken/scss/390-test_parent_selector_with_parent_and_subject.scss b/theme-compiler/tests/resources/sasslangbroken/scss/390-test_parent_selector_with_parent_and_subject.scss deleted file mode 100644 index 646238f379..0000000000 --- a/theme-compiler/tests/resources/sasslangbroken/scss/390-test_parent_selector_with_parent_and_subject.scss +++ /dev/null @@ -1,3 +0,0 @@ -$subject: "!"; -foo { - bar &.baz#{$subject} .bip {c: d}}