diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/ChangeLog | 29 | ||||
| -rw-r--r-- | test/indent/css-mode.css | 10 | ||||
| -rw-r--r-- | test/indent/scss-mode.scss | 57 |
3 files changed, 84 insertions, 12 deletions
diff --git a/test/ChangeLog b/test/ChangeLog index ea11f9429f0..a5ac25a92a1 100644 --- a/test/ChangeLog +++ b/test/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * indent/scss-mode.scss: New file. | ||
| 4 | * indent/css-mode.css: Add a few uneventful examples. | ||
| 5 | |||
| 1 | 2014-10-15 Eli Zaretskii <eliz@gnu.org> | 6 | 2014-10-15 Eli Zaretskii <eliz@gnu.org> |
| 2 | 7 | ||
| 3 | * BidiCharacterTest.txt: New file, from Unicode. | 8 | * BidiCharacterTest.txt: New file, from Unicode. |
| @@ -28,8 +33,8 @@ | |||
| 28 | 33 | ||
| 29 | 2014-09-26 Leo Liu <sdl.web@gmail.com> | 34 | 2014-09-26 Leo Liu <sdl.web@gmail.com> |
| 30 | 35 | ||
| 31 | * automated/cl-lib.el (cl-digit-char-p, cl-parse-integer): New | 36 | * automated/cl-lib.el (cl-digit-char-p, cl-parse-integer): |
| 32 | tests. (Bug#18557) | 37 | New tests. (Bug#18557) |
| 33 | 38 | ||
| 34 | 2014-09-24 Ulf Jasper <ulf.jasper@web.de> | 39 | 2014-09-24 Ulf Jasper <ulf.jasper@web.de> |
| 35 | 40 | ||
| @@ -39,8 +44,8 @@ | |||
| 39 | 44 | ||
| 40 | 2014-09-09 Eli Zaretskii <eliz@gnu.org> | 45 | 2014-09-09 Eli Zaretskii <eliz@gnu.org> |
| 41 | 46 | ||
| 42 | * automated/fns-tests.el (fns-tests-collate-sort): Bind | 47 | * automated/fns-tests.el (fns-tests-collate-sort): |
| 43 | w32-collate-ignore-punctuation to t when sorting according to | 48 | Bind w32-collate-ignore-punctuation to t when sorting according to |
| 44 | UTS#10 rules. | 49 | UTS#10 rules. |
| 45 | 50 | ||
| 46 | 2014-09-07 Michael Albinus <michael.albinus@gmx.de> | 51 | 2014-09-07 Michael Albinus <michael.albinus@gmx.de> |
| @@ -555,8 +560,8 @@ | |||
| 555 | 560 | ||
| 556 | * automated/subword-tests.el (subword-tests2): More subword tests. | 561 | * automated/subword-tests.el (subword-tests2): More subword tests. |
| 557 | 562 | ||
| 558 | * automated/cl-lib.el (cl-lib-keyword-names-versus-values): New | 563 | * automated/cl-lib.el (cl-lib-keyword-names-versus-values): |
| 559 | test: correct parsing of keyword arguments. | 564 | New test: correct parsing of keyword arguments. |
| 560 | 565 | ||
| 561 | 2014-03-22 Dmitry Gutov <dgutov@yandex.ru> | 566 | 2014-03-22 Dmitry Gutov <dgutov@yandex.ru> |
| 562 | 567 | ||
| @@ -651,8 +656,8 @@ | |||
| 651 | 656 | ||
| 652 | 2014-02-17 Michael Albinus <michael.albinus@gmx.de> | 657 | 2014-02-17 Michael Albinus <michael.albinus@gmx.de> |
| 653 | 658 | ||
| 654 | * automated/tramp-tests.el (tramp-test28-shell-command): Perform | 659 | * automated/tramp-tests.el (tramp-test28-shell-command): |
| 655 | an initial `sit-for' prior the while loop. | 660 | Perform an initial `sit-for' prior the while loop. |
| 656 | 661 | ||
| 657 | 2014-02-16 Michael Albinus <michael.albinus@gmx.de> | 662 | 2014-02-16 Michael Albinus <michael.albinus@gmx.de> |
| 658 | 663 | ||
| @@ -674,8 +679,8 @@ | |||
| 674 | 679 | ||
| 675 | * automated/tramp-tests.el (tramp-test26-process-file): Improve test. | 680 | * automated/tramp-tests.el (tramp-test26-process-file): Improve test. |
| 676 | (tramp-test27-start-file-process): Use "_p" as argument of lambda. | 681 | (tramp-test27-start-file-process): Use "_p" as argument of lambda. |
| 677 | (tramp-test28-shell-command): Improve `shell-command' test. Add | 682 | (tramp-test28-shell-command): Improve `shell-command' test. |
| 678 | `async-shell-command' tests. | 683 | Add `async-shell-command' tests. |
| 679 | 684 | ||
| 680 | 2014-02-04 Michael Albinus <michael.albinus@gmx.de> | 685 | 2014-02-04 Michael Albinus <michael.albinus@gmx.de> |
| 681 | 686 | ||
| @@ -731,8 +736,8 @@ | |||
| 731 | 736 | ||
| 732 | 2014-01-13 Michael Albinus <michael.albinus@gmx.de> | 737 | 2014-01-13 Michael Albinus <michael.albinus@gmx.de> |
| 733 | 738 | ||
| 734 | * automated/ert-tests.el (ert-test-record-backtrace): Reenable | 739 | * automated/ert-tests.el (ert-test-record-backtrace): |
| 735 | test case with adapted test string. (Bug#13064) | 740 | Reenable test case with adapted test string. (Bug#13064) |
| 736 | 741 | ||
| 737 | 2013-12-28 Glenn Morris <rgm@gnu.org> | 742 | 2013-12-28 Glenn Morris <rgm@gnu.org> |
| 738 | 743 | ||
diff --git a/test/indent/css-mode.css b/test/indent/css-mode.css index 4dbab06975c..564ac16f954 100644 --- a/test/indent/css-mode.css +++ b/test/indent/css-mode.css | |||
| @@ -1,7 +1,17 @@ | |||
| 1 | /* asdfasdf */ | ||
| 2 | |||
| 1 | .xxx | 3 | .xxx |
| 2 | { | 4 | { |
| 3 | } | 5 | } |
| 4 | 6 | ||
| 7 | article[role="main"] { | ||
| 8 | width: 60%; | ||
| 9 | } | ||
| 10 | |||
| 11 | /* asdfasdf */ | ||
| 12 | @foo x2 { | ||
| 13 | bla:toto; | ||
| 14 | } | ||
| 5 | .x2 | 15 | .x2 |
| 6 | { | 16 | { |
| 7 | foo: bar; | 17 | foo: bar; |
diff --git a/test/indent/scss-mode.scss b/test/indent/scss-mode.scss new file mode 100644 index 00000000000..7a29929efca --- /dev/null +++ b/test/indent/scss-mode.scss | |||
| @@ -0,0 +1,57 @@ | |||
| 1 | // Comment! | ||
| 2 | |||
| 3 | nav { | ||
| 4 | ul { | ||
| 5 | margin: 0; /* More comment */ | ||
| 6 | padding: 0; | ||
| 7 | list-style: none; | ||
| 8 | } | ||
| 9 | |||
| 10 | li { display: inline-block; } | ||
| 11 | |||
| 12 | a { | ||
| 13 | display: block; | ||
| 14 | padding: 6px 12px; | ||
| 15 | text-decoration: none; | ||
| 16 | } | ||
| 17 | } | ||
| 18 | nav ul { | ||
| 19 | margin: 0; | ||
| 20 | padding: 0; | ||
| 21 | list-style: none; | ||
| 22 | } | ||
| 23 | |||
| 24 | nav li { | ||
| 25 | display: inline-block; | ||
| 26 | } | ||
| 27 | |||
| 28 | nav a var | ||
| 29 | { | ||
| 30 | display: block; | ||
| 31 | padding: 6px 12px; | ||
| 32 | text-decoration: none; | ||
| 33 | } | ||
| 34 | |||
| 35 | $name: foo; | ||
| 36 | $attr: border; | ||
| 37 | p.#{$name} var | ||
| 38 | { | ||
| 39 | x#{$attr}-color: blue; | ||
| 40 | } | ||
| 41 | article[role="main"] { | ||
| 42 | $toto: 500 !global; | ||
| 43 | float: left; | ||
| 44 | width: 600px / 888px * 100%; | ||
| 45 | height: 100px / 888px * 100%; | ||
| 46 | } | ||
| 47 | |||
| 48 | @import 'reset'; | ||
| 49 | |||
| 50 | @mixin border-radius($radius) { | ||
| 51 | -webkit-border-radius: $radius; | ||
| 52 | -moz-border-radius: $radius; | ||
| 53 | -ms-border-radius: $radius; | ||
| 54 | border-radius: $radius; | ||
| 55 | } | ||
| 56 | |||
| 57 | .box { @include border-radius(10px); } | ||