Skip to content

Commit

Permalink
Add test for duplicate map keys
Browse files Browse the repository at this point in the history
Test for sass/libsass#628
Fixes sass#133
  • Loading branch information
saper committed Sep 21, 2015
1 parent f77d9b8 commit a2c14e1
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 0 deletions.
3 changes: 3 additions & 0 deletions spec/libsass-todo-tests/maps/duplicate-keys/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-todo/input.scss
Use --trace for backtrace.
Empty file.
9 changes: 9 additions & 0 deletions spec/libsass-todo-tests/maps/duplicate-keys/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/libsass-todo-tests/maps/duplicate-keys/status
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
65

0 comments on commit a2c14e1

Please sign in to comment.