From 8c9c7befed9d6dc4d88b2b0b4c5ec61d9c8b6fbb Mon Sep 17 00:00:00 2001 From: xzyfer Date: Tue, 23 Aug 2016 22:19:16 +1000 Subject: [PATCH] Add specs for issue 2151 This PR add specs for sass/libsass#2151 --- spec/libsass-todo-issues/issue_2151/error | 5 +++++ spec/libsass-todo-issues/issue_2151/expected_output.css | 2 ++ spec/libsass-todo-issues/issue_2151/input.scss | 6 ++++++ 3 files changed, 13 insertions(+) create mode 100644 spec/libsass-todo-issues/issue_2151/error create mode 100644 spec/libsass-todo-issues/issue_2151/expected_output.css create mode 100644 spec/libsass-todo-issues/issue_2151/input.scss diff --git a/spec/libsass-todo-issues/issue_2151/error b/spec/libsass-todo-issues/issue_2151/error new file mode 100644 index 0000000000..b8c956ee64 --- /dev/null +++ b/spec/libsass-todo-issues/issue_2151/error @@ -0,0 +1,5 @@ +DEPRECATION WARNING on line 2 of /sass/spec/libsass-issues/issue_2151/input.scss: #{} interpolation near operators will be simplified in a future version of Sass. To preserve the current behavior, use quotes: + + unquote("#{$v} + #{$v} + #{$v} + #{$v} + #{$v}") + +You can use the sass-convert command to automatically fix most cases. diff --git a/spec/libsass-todo-issues/issue_2151/expected_output.css b/spec/libsass-todo-issues/issue_2151/expected_output.css new file mode 100644 index 0000000000..0bfc3ce7a3 --- /dev/null +++ b/spec/libsass-todo-issues/issue_2151/expected_output.css @@ -0,0 +1,2 @@ +a { + b: 1px + 1px + 1px + 1px + 1px; } diff --git a/spec/libsass-todo-issues/issue_2151/input.scss b/spec/libsass-todo-issues/issue_2151/input.scss new file mode 100644 index 0000000000..4de86e5a5b --- /dev/null +++ b/spec/libsass-todo-issues/issue_2151/input.scss @@ -0,0 +1,6 @@ +$v: 1px; +$b: #{$v} + #{$v} + #{$v} + #{$v} + #{$v}; + +a { + b: $b; +}