From c1a7b6c6ea9cc76acfe6a9da2f9267e17af846b6 Mon Sep 17 00:00:00 2001 From: Hugo Giraudel Date: Sun, 20 Sep 2015 17:20:03 +0000 Subject: [PATCH] Test for reserved function names and/or/not Test for https://github.com/sass/libsass/issues/713 --- spec/libsass-todo-issues/issue_713/and/error | 3 +++ .../libsass-todo-issues/issue_713/and/expected.compact.css | 0 .../issue_713/and/expected.compressed.css | 0 .../issue_713/and/expected.expanded.css | 0 spec/libsass-todo-issues/issue_713/and/expected_output.css | 0 spec/libsass-todo-issues/issue_713/and/input.scss | 7 +++++++ spec/libsass-todo-issues/issue_713/and/status | 1 + spec/libsass-todo-issues/issue_713/not/error | 3 +++ .../libsass-todo-issues/issue_713/not/expected.compact.css | 0 .../issue_713/not/expected.compressed.css | 0 .../issue_713/not/expected.expanded.css | 0 spec/libsass-todo-issues/issue_713/not/expected_output.css | 0 spec/libsass-todo-issues/issue_713/not/input.scss | 7 +++++++ spec/libsass-todo-issues/issue_713/not/status | 1 + spec/libsass-todo-issues/issue_713/or/error | 3 +++ spec/libsass-todo-issues/issue_713/or/expected.compact.css | 0 .../issue_713/or/expected.compressed.css | 0 .../libsass-todo-issues/issue_713/or/expected.expanded.css | 0 spec/libsass-todo-issues/issue_713/or/expected_output.css | 0 spec/libsass-todo-issues/issue_713/or/input.scss | 7 +++++++ spec/libsass-todo-issues/issue_713/or/status | 1 + 21 files changed, 33 insertions(+) create mode 100644 spec/libsass-todo-issues/issue_713/and/error create mode 100644 spec/libsass-todo-issues/issue_713/and/expected.compact.css create mode 100644 spec/libsass-todo-issues/issue_713/and/expected.compressed.css create mode 100644 spec/libsass-todo-issues/issue_713/and/expected.expanded.css create mode 100644 spec/libsass-todo-issues/issue_713/and/expected_output.css create mode 100644 spec/libsass-todo-issues/issue_713/and/input.scss create mode 100644 spec/libsass-todo-issues/issue_713/and/status create mode 100644 spec/libsass-todo-issues/issue_713/not/error create mode 100644 spec/libsass-todo-issues/issue_713/not/expected.compact.css create mode 100644 spec/libsass-todo-issues/issue_713/not/expected.compressed.css create mode 100644 spec/libsass-todo-issues/issue_713/not/expected.expanded.css create mode 100644 spec/libsass-todo-issues/issue_713/not/expected_output.css create mode 100644 spec/libsass-todo-issues/issue_713/not/input.scss create mode 100644 spec/libsass-todo-issues/issue_713/not/status create mode 100644 spec/libsass-todo-issues/issue_713/or/error create mode 100644 spec/libsass-todo-issues/issue_713/or/expected.compact.css create mode 100644 spec/libsass-todo-issues/issue_713/or/expected.compressed.css create mode 100644 spec/libsass-todo-issues/issue_713/or/expected.expanded.css create mode 100644 spec/libsass-todo-issues/issue_713/or/expected_output.css create mode 100644 spec/libsass-todo-issues/issue_713/or/input.scss create mode 100644 spec/libsass-todo-issues/issue_713/or/status diff --git a/spec/libsass-todo-issues/issue_713/and/error b/spec/libsass-todo-issues/issue_713/and/error new file mode 100644 index 0000000000..26d3d91a93 --- /dev/null +++ b/spec/libsass-todo-issues/issue_713/and/error @@ -0,0 +1,3 @@ +Error: Invalid function name "and". + on line of /home/saper/sw/libsass/sass-spec/spec/libsass-todo-issues/issue_713/and/input.scss + Use --trace for backtrace. diff --git a/spec/libsass-todo-issues/issue_713/and/expected.compact.css b/spec/libsass-todo-issues/issue_713/and/expected.compact.css new file mode 100644 index 0000000000..e69de29bb2 diff --git a/spec/libsass-todo-issues/issue_713/and/expected.compressed.css b/spec/libsass-todo-issues/issue_713/and/expected.compressed.css new file mode 100644 index 0000000000..e69de29bb2 diff --git a/spec/libsass-todo-issues/issue_713/and/expected.expanded.css b/spec/libsass-todo-issues/issue_713/and/expected.expanded.css new file mode 100644 index 0000000000..e69de29bb2 diff --git a/spec/libsass-todo-issues/issue_713/and/expected_output.css b/spec/libsass-todo-issues/issue_713/and/expected_output.css new file mode 100644 index 0000000000..e69de29bb2 diff --git a/spec/libsass-todo-issues/issue_713/and/input.scss b/spec/libsass-todo-issues/issue_713/and/input.scss new file mode 100644 index 0000000000..ec7f2a864b --- /dev/null +++ b/spec/libsass-todo-issues/issue_713/and/input.scss @@ -0,0 +1,7 @@ +@function and() { + @return "and"; +} + +test { + and: and(); +} diff --git a/spec/libsass-todo-issues/issue_713/and/status b/spec/libsass-todo-issues/issue_713/and/status new file mode 100644 index 0000000000..b44fe09a7a --- /dev/null +++ b/spec/libsass-todo-issues/issue_713/and/status @@ -0,0 +1 @@ +65 \ No newline at end of file diff --git a/spec/libsass-todo-issues/issue_713/not/error b/spec/libsass-todo-issues/issue_713/not/error new file mode 100644 index 0000000000..36b2555a14 --- /dev/null +++ b/spec/libsass-todo-issues/issue_713/not/error @@ -0,0 +1,3 @@ +Error: Invalid function name "not". + on line of /home/saper/sw/libsass/sass-spec/spec/libsass-todo-issues/issue_713/not/input.scss + Use --trace for backtrace. diff --git a/spec/libsass-todo-issues/issue_713/not/expected.compact.css b/spec/libsass-todo-issues/issue_713/not/expected.compact.css new file mode 100644 index 0000000000..e69de29bb2 diff --git a/spec/libsass-todo-issues/issue_713/not/expected.compressed.css b/spec/libsass-todo-issues/issue_713/not/expected.compressed.css new file mode 100644 index 0000000000..e69de29bb2 diff --git a/spec/libsass-todo-issues/issue_713/not/expected.expanded.css b/spec/libsass-todo-issues/issue_713/not/expected.expanded.css new file mode 100644 index 0000000000..e69de29bb2 diff --git a/spec/libsass-todo-issues/issue_713/not/expected_output.css b/spec/libsass-todo-issues/issue_713/not/expected_output.css new file mode 100644 index 0000000000..e69de29bb2 diff --git a/spec/libsass-todo-issues/issue_713/not/input.scss b/spec/libsass-todo-issues/issue_713/not/input.scss new file mode 100644 index 0000000000..b62704f2a4 --- /dev/null +++ b/spec/libsass-todo-issues/issue_713/not/input.scss @@ -0,0 +1,7 @@ +@function not() { + @return "not"; +} + +test { + not: not(); +} diff --git a/spec/libsass-todo-issues/issue_713/not/status b/spec/libsass-todo-issues/issue_713/not/status new file mode 100644 index 0000000000..b44fe09a7a --- /dev/null +++ b/spec/libsass-todo-issues/issue_713/not/status @@ -0,0 +1 @@ +65 \ No newline at end of file diff --git a/spec/libsass-todo-issues/issue_713/or/error b/spec/libsass-todo-issues/issue_713/or/error new file mode 100644 index 0000000000..99eb6a4ef5 --- /dev/null +++ b/spec/libsass-todo-issues/issue_713/or/error @@ -0,0 +1,3 @@ +Error: Invalid function name "or". + on line of /home/saper/sw/libsass/sass-spec/spec/libsass-todo-issues/issue_713/or/input.scss + Use --trace for backtrace. diff --git a/spec/libsass-todo-issues/issue_713/or/expected.compact.css b/spec/libsass-todo-issues/issue_713/or/expected.compact.css new file mode 100644 index 0000000000..e69de29bb2 diff --git a/spec/libsass-todo-issues/issue_713/or/expected.compressed.css b/spec/libsass-todo-issues/issue_713/or/expected.compressed.css new file mode 100644 index 0000000000..e69de29bb2 diff --git a/spec/libsass-todo-issues/issue_713/or/expected.expanded.css b/spec/libsass-todo-issues/issue_713/or/expected.expanded.css new file mode 100644 index 0000000000..e69de29bb2 diff --git a/spec/libsass-todo-issues/issue_713/or/expected_output.css b/spec/libsass-todo-issues/issue_713/or/expected_output.css new file mode 100644 index 0000000000..e69de29bb2 diff --git a/spec/libsass-todo-issues/issue_713/or/input.scss b/spec/libsass-todo-issues/issue_713/or/input.scss new file mode 100644 index 0000000000..266fc5fba1 --- /dev/null +++ b/spec/libsass-todo-issues/issue_713/or/input.scss @@ -0,0 +1,7 @@ +@function or() { + @return "or"; +} + +test { + or: or(); +} diff --git a/spec/libsass-todo-issues/issue_713/or/status b/spec/libsass-todo-issues/issue_713/or/status new file mode 100644 index 0000000000..b44fe09a7a --- /dev/null +++ b/spec/libsass-todo-issues/issue_713/or/status @@ -0,0 +1 @@ +65 \ No newline at end of file