summaryrefslogtreecommitdiff
path: root/scss/tests
diff options
context:
space:
mode:
authorEevee (Alex Munroe) <eevee.git@veekun.com>2014-09-04 17:03:24 -0700
committerEevee (Alex Munroe) <eevee.git@veekun.com>2014-09-04 17:03:24 -0700
commit56d41a030bd316b9c8094883192090cdf44b3f90 (patch)
tree0c2963d0c0d9774906f42bcc643e05ca2ed09bc3 /scss/tests
parent43270e40f6ae288a7c00a61302cb686d290ccae0 (diff)
downloadpyscss-56d41a030bd316b9c8094883192090cdf44b3f90.tar.gz
Give up on matching Ruby's quoting behavior for now.
Diffstat (limited to 'scss/tests')
-rw-r--r--scss/tests/files/general/interpolation-acid.css4
-rw-r--r--scss/tests/files/general/interpolation-acid.scss2
2 files changed, 4 insertions, 2 deletions
diff --git a/scss/tests/files/general/interpolation-acid.css b/scss/tests/files/general/interpolation-acid.css
index 7a72ad2..ca6674d 100644
--- a/scss/tests/files/general/interpolation-acid.css
+++ b/scss/tests/files/general/interpolation-acid.css
@@ -1,10 +1,10 @@
.foo foo-foo {
onefoothree: foo;
string: hellofoogoodbye;
- string-single: "he'llofoogood\"bye";
+ string-single: 'he\'llofoogood"bye';
string-double: "he\"llofoogood'bye";
url: url(hellofoogoodbye);
- url-single: url("he'llofoogood\"bye");
+ url-single: url('he\'llofoogood"bye');
url-double: url("he\"llofoogood'bye");
nested: "type-of(foo) bar";
}
diff --git a/scss/tests/files/general/interpolation-acid.scss b/scss/tests/files/general/interpolation-acid.scss
index e5580c6..754eeae 100644
--- a/scss/tests/files/general/interpolation-acid.scss
+++ b/scss/tests/files/general/interpolation-acid.scss
@@ -3,6 +3,8 @@ $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";