Skip to content

Commit

Permalink
Add test for duplicate map keys
Browse files Browse the repository at this point in the history
Still marked as "todo" due to libsass
message mismatch.

Test for sass/libsass#628
Fixes sass#133
  • Loading branch information
saper committed Sep 21, 2015
1 parent e84b279 commit f9868be
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 0 deletions.
3 changes: 3 additions & 0 deletions spec/maps/duplicate-keys-todo/error
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Error: Duplicate key "eta" in map (eta: 5, eta: 6).
on line 5 of /home/saper/sw/libsass/sass-spec/spec/maps/duplicate-keys/input.scss
Use --trace for backtrace.
Empty file.
Empty file.
Empty file.
Empty file.
9 changes: 9 additions & 0 deletions spec/maps/duplicate-keys-todo/input.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
$map: (
alpha: 1,
beta: 2,
gamma: 3,
delta: (
eta: 5,
eta: 6,
),
);
1 change: 1 addition & 0 deletions spec/maps/duplicate-keys-todo/status
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
65

0 comments on commit f9868be

Please sign in to comment.