Skip to content

Commit

Permalink
Updates output_styles tests for sass/libsass#2775
Browse files Browse the repository at this point in the history
Test data update for sass/libsass#2775.

Generated from Ruby Sass 3.7.2 with the following script:

```bash

set -euo pipefail

declare -ra COMPRESSED=(
sass-spec/spec/output_styles/compressed/extend-tests/094_test_long_extendee_runs_unification
sass-spec/spec/output_styles/compressed/selector-functions/unify/universal_simple
sass-spec/spec/output_styles/compressed/extend-tests/096_test_long_extender_runs_unification
sass-spec/spec/output_styles/compressed/extend-tests/051_test_element_unification_with_namespaceless_universal_target
sass-spec/spec/output_styles/compressed/extend-tests/038_test_universal_unification_with_namespaceless_element_target
sass-spec/spec/output_styles/compressed/extend-tests/040_test_universal_unification_with_namespaced_element_target
sass-spec/spec/output_styles/compressed/extend-tests/029_test_universal_unification_with_namespaceless_universal_target
sass-spec/spec/output_styles/compressed/extend-tests/031_test_universal_unification_with_namespaced_universal_target
sass-spec/spec/output_styles/compressed/extend-tests/060_test_element_unification_with_namespaceless_element_target
sass-spec/spec/output_styles/compressed/extend-tests/053_test_element_unification_with_namespaced_universal_target
sass-spec/spec/output_styles/compressed/extend-tests/235_extend_with_universal_selector
sass-spec/spec/output_styles/compressed/selector-functions/unify/base
sass-spec/spec/output_styles/compressed/extend-tests/062_test_element_unification_with_namespaced_element_target
)

declare -ra NESTED=(
sass-spec/spec/output_styles/nested/extend-tests/038_test_universal_unification_with_namespaceless_element_target
sass-spec/spec/output_styles/nested/extend-tests/040_test_universal_unification_with_namespaced_element_target
sass-spec/spec/output_styles/nested/extend-tests/029_test_universal_unification_with_namespaceless_universal_target
sass-spec/spec/output_styles/nested/extend-tests/053_test_element_unification_with_namespaced_universal_target
sass-spec/spec/output_styles/nested/extend-tests/235_extend_with_universal_selector
sass-spec/spec/output_styles/nested/extend-tests/096_test_long_extender_runs_unification
sass-spec/spec/output_styles/nested/extend-tests/051_test_element_unification_with_namespaceless_universal_target
sass-spec/spec/output_styles/nested/selector-functions/unify/base
sass-spec/spec/output_styles/nested/extend-tests/062_test_element_unification_with_namespaced_element_target
sass-spec/spec/output_styles/nested/extend-tests/031_test_universal_unification_with_namespaced_universal_target
sass-spec/spec/output_styles/nested/extend-tests/094_test_long_extendee_runs_unification
sass-spec/spec/output_styles/nested/extend-tests/060_test_element_unification_with_namespaceless_element_target
sass-spec/spec/output_styles/nested/selector-functions/unify/universal_simple
)

declare -ra COMPACT=(
sass-spec/spec/output_styles/compact/extend-tests/040_test_universal_unification_with_namespaced_element_target
sass-spec/spec/output_styles/compact/selector-functions/unify/universal_simple
sass-spec/spec/output_styles/compact/extend-tests/053_test_element_unification_with_namespaced_universal_target
sass-spec/spec/output_styles/compact/extend-tests/096_test_long_extender_runs_unification
sass-spec/spec/output_styles/compact/extend-tests/038_test_universal_unification_with_namespaceless_element_target
sass-spec/spec/output_styles/compact/selector-functions/unify/base
sass-spec/spec/output_styles/compact/extend-tests/235_extend_with_universal_selector
sass-spec/spec/output_styles/compact/extend-tests/060_test_element_unification_with_namespaceless_element_target
sass-spec/spec/output_styles/compact/extend-tests/051_test_element_unification_with_namespaceless_universal_target
sass-spec/spec/output_styles/compact/extend-tests/031_test_universal_unification_with_namespaced_universal_target
sass-spec/spec/output_styles/compact/extend-tests/062_test_element_unification_with_namespaced_element_target
sass-spec/spec/output_styles/compact/extend-tests/094_test_long_extendee_runs_unification
sass-spec/spec/output_styles/compact/extend-tests/029_test_universal_unification_with_namespaceless_universal_target
)

for f in ${COMPRESSED[@]}; do
  sass -t compressed $f/input.scss > $f/output.css
done

for f in ${NESTED[@]}; do
  sass -t nested $f/input.scss > $f/output.css
done

for f in ${COMPACT[@]}; do
  sass -t compact $f/input.scss > $f/output.css
done
```
  • Loading branch information
glebm committed Dec 1, 2018
1 parent 2447f06 commit d8415a7
Show file tree
Hide file tree
Showing 36 changed files with 44 additions and 48 deletions.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
-a *.foo, -a ns|* { a: b; }
-a *.foo { a: b; }
Original file line number Diff line number Diff line change
@@ -1 +1 @@
-a ns|* { a: b; }
-a ns|*.foo { a: b; }
Original file line number Diff line number Diff line change
@@ -1 +1 @@
-a a.foo, -a ns|a { a: b; }
-a a.foo { a: b; }
Original file line number Diff line number Diff line change
@@ -1 +1 @@
-a ns|a { a: b; }
-a ns|a.foo { a: b; }
Original file line number Diff line number Diff line change
@@ -1 +1 @@
-a *.foo, -a ns|a { a: b; }
-a *.foo { a: b; }
Original file line number Diff line number Diff line change
@@ -1 +1 @@
-a ns|*.foo, -a ns|a { a: b; }
-a ns|*.foo { a: b; }
Original file line number Diff line number Diff line change
@@ -1 +1 @@
-a a.foo, -a ns|a { a: b; }
-a a.foo { a: b; }
Original file line number Diff line number Diff line change
@@ -1 +1 @@
-a ns|a { a: b; }
-a ns|a.foo { a: b; }
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ns|*.foo.bar, ns|a.baz { a: b; }
ns|*.foo.bar { a: b; }
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ns|*.foo.bar, ns|a.bar.baz { a: b; }
ns|*.foo.bar { a: b; }
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

-b *|*.foo2, -b b { b: b; }

-c |*.foo3, -c |c { c: b; }
-c |*.foo3 { c: b; }

-d ns|*.foo4, -d ns|d { d: b; }
-d ns|*.foo4 { d: b; }
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
universal-selector { test-01: *; test-02: |*; test-03: *; test-04: |*; test-05: |*; test-06: |*; test-07: *; test-08: |*; test-09: *|*; }
universal-selector { test-01: *; test-03: *; test-05: |*; test-06: |*; test-07: *; test-08: |*; test-09: *|*; }

tag-selector { test-1: tag; test-2: |tag; test-3: tag; test-4: tag; test-5: |tag; test-6: tag; }
tag-selector { test-1: tag; test-3: tag; test-4: tag; test-6: tag; }

class-selector { test-1: .class; test-2: |*.class; test-3: .class; test-4: *.class; test-5: |*.class; test-6: *|*.class; }
class-selector { test-1: .class; test-2: |*.class; test-3: .class; test-4: .class; test-5: |*.class; test-6: .class; }

id-selector { test-1: #id; test-2: |*#id; test-3: #id; test-4: *#id; test-5: |*#id; test-6: *|*#id; }
id-selector { test-1: #id; test-2: |*#id; test-3: #id; test-4: #id; test-5: |*#id; test-6: #id; }
Original file line number Diff line number Diff line change
@@ -1 +1 @@
-a *.foo,-a ns|*{a:b}
-a *.foo{a:b}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
-a ns|*{a:b}
-a ns|*.foo{a:b}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
-a a.foo,-a ns|a{a:b}
-a a.foo{a:b}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
-a ns|a{a:b}
-a ns|a.foo{a:b}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
-a *.foo,-a ns|a{a:b}
-a *.foo{a:b}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
-a ns|*.foo,-a ns|a{a:b}
-a ns|*.foo{a:b}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
-a a.foo,-a ns|a{a:b}
-a a.foo{a:b}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
-a ns|a{a:b}
-a ns|a.foo{a:b}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ns|*.foo.bar,ns|a.baz{a:b}
ns|*.foo.bar{a:b}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ns|*.foo.bar,ns|a.bar.baz{a:b}
ns|*.foo.bar{a:b}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
-a *.foo1,-a a{a:b}-b *|*.foo2,-b b{b:b}-c |*.foo3,-c |c{c:b}-d ns|*.foo4,-d ns|d{d:b}
-a *.foo1,-a a{a:b}-b *|*.foo2,-b b{b:b}-c |*.foo3{c:b}-d ns|*.foo4{d:b}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
-a *.foo, -a ns|* {
-a *.foo {
a: b; }
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
-a ns|* {
-a ns|*.foo {
a: b; }
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
-a a.foo, -a ns|a {
-a a.foo {
a: b; }
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
-a ns|a {
-a ns|a.foo {
a: b; }
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
-a *.foo, -a ns|a {
-a *.foo {
a: b; }
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
-a ns|*.foo, -a ns|a {
-a ns|*.foo {
a: b; }
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
-a a.foo, -a ns|a {
-a a.foo {
a: b; }
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
-a ns|a {
-a ns|a.foo {
a: b; }
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
ns|*.foo.bar, ns|a.baz {
ns|*.foo.bar {
a: b; }
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
ns|*.foo.bar, ns|a.bar.baz {
ns|*.foo.bar {
a: b; }
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
-b *|*.foo2, -b b {
b: b; }

-c |*.foo3, -c |c {
-c |*.foo3 {
c: b; }

-d ns|*.foo4, -d ns|d {
-d ns|*.foo4 {
d: b; }
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
universal-selector {
test-01: *;
test-02: |*;
test-03: *;
test-04: |*;
test-05: |*;
test-06: |*;
test-07: *;
Expand All @@ -11,24 +9,22 @@ universal-selector {

tag-selector {
test-1: tag;
test-2: |tag;
test-3: tag;
test-4: tag;
test-5: |tag;
test-6: tag; }

class-selector {
test-1: .class;
test-2: |*.class;
test-3: .class;
test-4: *.class;
test-4: .class;
test-5: |*.class;
test-6: *|*.class; }
test-6: .class; }

id-selector {
test-1: #id;
test-2: |*#id;
test-3: #id;
test-4: *#id;
test-4: #id;
test-5: |*#id;
test-6: *|*#id; }
test-6: #id; }

0 comments on commit d8415a7

Please sign in to comment.