Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add BIF pop tests

  • Loading branch information...
commit 03c0851a62ed2495be09be4e90fca47aa37258dc 1 parent a09db97
Gavin Huang authored
Showing with 43 additions and 0 deletions.
  1. +20 −0 test/cases/bifs.pop.css
  2. +23 −0 test/cases/bifs.pop.styl
20 test/cases/bifs.pop.css
View
@@ -0,0 +1,20 @@
+body {
+ foo: 3;
+ foo: 1 2;
+ foo: 2;
+ foo: 1;
+ foo: 1;
+ foo: ;
+ foo: null;
+ foo: 0;
+}
+body {
+ foo: 1;
+ foo: 2 3;
+ foo: 2;
+ foo: 3;
+ foo: 3;
+ foo: ;
+ foo: null;
+ foo: 0;
+}
23 test/cases/bifs.pop.styl
View
@@ -0,0 +1,23 @@
+nums = (1 2 3)
+
+body
+ foo: pop(nums)
+ foo: nums
+ foo: pop(nums)
+ foo: nums
+ foo: pop(nums)
+ foo: nums
+ foo: pop(nums)
+ foo: nums
+ foo: length(nums)
+
+num = (1 2 3)
+
+body
+ foo: shift(nums)
+ foo: nums
+ foo: shift(nums)
+ foo: nums
+ foo: shift(nums)
+ foo: nums
+ foo: length(nums)
Please sign in to comment.
Something went wrong with that request. Please try again.