summaryrefslogtreecommitdiff
path: root/scss/tests/files/general/interpolation-acid.scss
blob: 754eeae246a736d956208a92989af68eb9f175f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$foo: foo;

.#{$foo} #{$foo}-#{$foo} {
    one#{$foo}three: $foo;

    // TODO Ruby Sass changes these single quotes into double quotes, which I
    // guess we want to preserve
    string: hello#{$foo}goodbye;
    string-single: 'he\'llo#{$foo}good"bye';
    string-double: "he\"llo#{$foo}good'bye";

    url: url(hello#{$foo}goodbye);
    url-single: url('he\'llo#{$foo}good"bye');
    url-double: url("he\"llo#{$foo}good'bye");

    nested: "#{"type-of(f#{"o"}o)" "bar"}";
}