Skip to content

Commit

Permalink
Test for reserved function names and/or/not
Browse files Browse the repository at this point in the history
  • Loading branch information
KittyGiraudel authored and saper committed Sep 21, 2015
1 parent 924eebd commit 3938115
Show file tree
Hide file tree
Showing 12 changed files with 33 additions and 0 deletions.
3 changes: 3 additions & 0 deletions spec/libsass-closed-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-closed-issues/issue_713/and/input.scss
Use --trace for backtrace.
Empty file.
7 changes: 7 additions & 0 deletions spec/libsass-closed-issues/issue_713/and/input.scss
@@ -0,0 +1,7 @@
@function and() {
@return "and";
}

test {
and: and();
}
1 change: 1 addition & 0 deletions spec/libsass-closed-issues/issue_713/and/status
@@ -0,0 +1 @@
65
3 changes: 3 additions & 0 deletions spec/libsass-closed-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-closed-issues/issue_713/not/input.scss
Use --trace for backtrace.
Empty file.
7 changes: 7 additions & 0 deletions spec/libsass-closed-issues/issue_713/not/input.scss
@@ -0,0 +1,7 @@
@function not() {
@return "not";
}

test {
not: not();
}
1 change: 1 addition & 0 deletions spec/libsass-closed-issues/issue_713/not/status
@@ -0,0 +1 @@
65
3 changes: 3 additions & 0 deletions spec/libsass-closed-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-closed-issues/issue_713/or/input.scss
Use --trace for backtrace.
Empty file.
7 changes: 7 additions & 0 deletions spec/libsass-closed-issues/issue_713/or/input.scss
@@ -0,0 +1,7 @@
@function or() {
@return "or";
}

test {
or: or();
}
1 change: 1 addition & 0 deletions spec/libsass-closed-issues/issue_713/or/status
@@ -0,0 +1 @@
65

0 comments on commit 3938115

Please sign in to comment.