aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorVincent Belaïche2016-01-20 08:30:51 +0100
committerVincent Belaïche2016-01-20 08:30:51 +0100
commitb895c72059521fec064ff27b4cfcfa4104081c4e (patch)
treec1697f0e4d95d8c3556798f6c4c53c98a4714bd0 /test
parentbadcd38aa86ed7973f2be2743c405710973a0bdd (diff)
parent1b76d9168336ede8976b980aeaed64ae2908501a (diff)
downloademacs-b895c72059521fec064ff27b4cfcfa4104081c4e.tar.gz
emacs-b895c72059521fec064ff27b4cfcfa4104081c4e.zip
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs
Diffstat (limited to 'test')
-rw-r--r--test/Makefile.in44
-rw-r--r--test/lisp/legacy/core-elisp-tests.el2
-rw-r--r--test/manual/etags/CTAGS.good14
-rw-r--r--test/manual/etags/ETAGS.good_114
-rw-r--r--test/manual/etags/ETAGS.good_214
-rw-r--r--test/manual/etags/ETAGS.good_314
-rw-r--r--test/manual/etags/ETAGS.good_414
-rw-r--r--test/manual/etags/ETAGS.good_514
-rw-r--r--test/manual/etags/ETAGS.good_614
-rw-r--r--test/manual/etags/html-src/softwarelibero.html2
-rw-r--r--test/manual/etags/ruby-src/test.rb34
-rw-r--r--test/manual/indent/scss-mode.scss10
12 files changed, 106 insertions, 84 deletions
diff --git a/test/Makefile.in b/test/Makefile.in
index e8b14319549..9f7011353cf 100644
--- a/test/Makefile.in
+++ b/test/Makefile.in
@@ -87,9 +87,15 @@ WRITE_LOG = > $@ 2>&1 || { stat=ERROR; cat $@; }; echo $$stat: $@
87## to change this; bug#17848 - if that gets done, this can be simplified). 87## to change this; bug#17848 - if that gets done, this can be simplified).
88## 88##
89## Beware: it approximates 'no-byte-compile', so watch out for false-positives! 89## Beware: it approximates 'no-byte-compile', so watch out for false-positives!
90SELECTOR_DEFAULT=(quote (not (tag :expensive-test))) 90SELECTOR_DEFAULT = (quote (not (tag :expensive-test)))
91SELECTOR_EXPENSIVE=nil 91SELECTOR_EXPENSIVE = nil
92SELECTOR= 92ifndef SELECTOR
93SELECTOR_ACTUAL=$(SELECTOR_DEFAULT)
94else
95SELECTOR_ACTUAL=$(SELECTOR)
96endif
97
98
93%.log: %.el 99%.log: %.el
94 @if grep '^;.*no-byte-compile: t' $< > /dev/null; then \ 100 @if grep '^;.*no-byte-compile: t' $< > /dev/null; then \
95 loadfile=$<; \ 101 loadfile=$<; \
@@ -101,7 +107,7 @@ SELECTOR=
101 stat=OK ; \ 107 stat=OK ; \
102 mkdir --parents $(dir $@) ; \ 108 mkdir --parents $(dir $@) ; \
103 $(emacs) -l ert -l $$loadfile \ 109 $(emacs) -l ert -l $$loadfile \
104 --eval "(ert-run-tests-batch-and-exit ${SELECTOR})" ${WRITE_LOG} 110 --eval "(ert-run-tests-batch-and-exit ${SELECTOR_ACTUAL})" ${WRITE_LOG}
105 111
106ELFILES = $(shell find ${srcdir} -path "${srcdir}/manual" -prune -o \ 112ELFILES = $(shell find ${srcdir} -path "${srcdir}/manual" -prune -o \
107 -path "*resources" -prune -o -name "*el" -print) 113 -path "*resources" -prune -o -name "*el" -print)
@@ -136,29 +142,31 @@ $(foreach test,${TESTS},$(eval $(call test_template,${test})))
136## have to run Emacs for every make invocation, and it might not be 142## have to run Emacs for every make invocation, and it might not be
137## available during clean. 143## available during clean.
138-include make-test-deps.mk 144-include make-test-deps.mk
139## Rerun default tests. 145## Rerun all default tests.
140check: 146check: mostlyclean
141 @${MAKE} check-doit SELECTOR="${SELECTOR_DEFAULT}" 147 @${MAKE} check-doit SELECTOR="${SELECTOR_ACTUAL}"
142 148
143## Rerun also expensive tests. 149## Rerun all default and expensive tests.
144.PHONY: check-expensive 150.PHONY: check-expensive
145check-expensive: 151check-expensive: mostlyclean
146 @${MAKE} check-doit SELECTOR="${SELECTOR_EXPENSIVE}" 152 @${MAKE} check-doit SELECTOR="${SELECTOR_EXPENSIVE}"
147 153
148## Re-run all the tests every time. 154## Only re-run default tests whose .log is older than the test.
149.PHONY: check-doit
150check-doit:
151 -@for f in $(LOGFILES); do test ! -f $$f || mv $$f $$f~; done
152 @${MAKE} check-maybe
153
154## Only re-run tests whose .log is older than the test.
155.PHONY: check-maybe 155.PHONY: check-maybe
156check-maybe: ${LOGFILES} 156check-maybe:
157 @${MAKE} check-doit SELECTOR="${SELECTOR_ACTUAL}"
158
159## Run the tests.
160.PHONY: check-doit
161check-doit: ${LOGFILES}
157 $(emacs) -l ert -f ert-summarize-tests-batch-and-exit $^ 162 $(emacs) -l ert -f ert-summarize-tests-batch-and-exit $^
158 163
159.PHONY: mostlyclean clean bootstrap-clean distclean maintainer-clean 164.PHONY: mostlyclean clean bootstrap-clean distclean maintainer-clean
160 165
161clean mostlyclean: 166mostlyclean:
167 -@for f in *.log; do test ! -f $$f || mv $$f $$f~; done
168
169clean:
162 -rm -f ${LOGFILES} ${LOGSAVEFILES} 170 -rm -f ${LOGFILES} ${LOGSAVEFILES}
163 -rm make-test-deps.mk 171 -rm make-test-deps.mk
164 172
diff --git a/test/lisp/legacy/core-elisp-tests.el b/test/lisp/legacy/core-elisp-tests.el
index 76985331566..b44bb37cc4f 100644
--- a/test/lisp/legacy/core-elisp-tests.el
+++ b/test/lisp/legacy/core-elisp-tests.el
@@ -32,7 +32,7 @@
32 (should (equal (list (let ((c-e-x 1)) (defvar c-e-x 2) c-e-x) c-e-x) 32 (should (equal (list (let ((c-e-x 1)) (defvar c-e-x 2) c-e-x) c-e-x)
33 '(1 2))) 33 '(1 2)))
34 (should (equal (list (let ((c-e-x 1)) 34 (should (equal (list (let ((c-e-x 1))
35 (defcustom c-e-x 2 "doc" :group 'blah) c-e-x) 35 (defcustom c-e-x 2 "doc" :group 'blah :type 'integer) c-e-x)
36 c-e-x) 36 c-e-x)
37 '(1 2))))) 37 '(1 2)))))
38 38
diff --git a/test/manual/etags/CTAGS.good b/test/manual/etags/CTAGS.good
index 245f6703adf..86b019a2b4c 100644
--- a/test/manual/etags/CTAGS.good
+++ b/test/manual/etags/CTAGS.good
@@ -438,7 +438,7 @@ Cjava_entries c-src/etags.c /^Cjava_entries (FILE *inf)$/
438Cjava_help c-src/etags.c 551 438Cjava_help c-src/etags.c 551
439Cjava_suffixes c-src/etags.c 549 439Cjava_suffixes c-src/etags.c 549
440ClassExample ruby-src/test.rb /^ class ClassExample$/ 440ClassExample ruby-src/test.rb /^ class ClassExample$/
441ClassExample.singleton_class_method ruby-src/test.rb /^ def ClassExample.singleton_class_method$/ 441ClassExample.class_method ruby-src/test.rb /^ def ClassExample.class_method$/
442Clear/p ada-src/2ataspri.adb /^ procedure Clear (Cell : in out TAS_Cell) is$/ 442Clear/p ada-src/2ataspri.adb /^ procedure Clear (Cell : in out TAS_Cell) is$/
443Clear/p ada-src/2ataspri.ads /^ procedure Clear (Cell : in out TAS_Cell)/ 443Clear/p ada-src/2ataspri.ads /^ procedure Clear (Cell : in out TAS_Cell)/
444Cobol_help c-src/etags.c 558 444Cobol_help c-src/etags.c 558
@@ -939,7 +939,7 @@ Metags c-src/etags.c /^main (int argc, char **argv)$/
939Mfail cp-src/fail.C /^main()$/ 939Mfail cp-src/fail.C /^main()$/
940Mkai-test.pl perl-src/kai-test.pl /^package main;$/ 940Mkai-test.pl perl-src/kai-test.pl /^package main;$/
941ModuleExample ruby-src/test.rb /^module ModuleExample$/ 941ModuleExample ruby-src/test.rb /^module ModuleExample$/
942ModuleExample.singleton_module_method ruby-src/test.rb /^ def ModuleExample.singleton_module_method$/ 942ModuleExample.module_class_method ruby-src/test.rb /^ def ModuleExample.module_class_method$/
943More_Lisp_Bits c-src/emacs/src/lisp.h 801 943More_Lisp_Bits c-src/emacs/src/lisp.h 801
944MoveLayerAfter lua-src/allegro.lua /^function MoveLayerAfter (this_one)$/ 944MoveLayerAfter lua-src/allegro.lua /^function MoveLayerAfter (this_one)$/
945MoveLayerBefore lua-src/allegro.lua /^function MoveLayerBefore (this_one)$/ 945MoveLayerBefore lua-src/allegro.lua /^function MoveLayerBefore (this_one)$/
@@ -2620,10 +2620,10 @@ childDidExit objc-src/Subprocess.m /^- childDidExit$/
2620chunks_free c-src/emacs/src/gmalloc.c 313 2620chunks_free c-src/emacs/src/gmalloc.c 313
2621chunks_used c-src/emacs/src/gmalloc.c 311 2621chunks_used c-src/emacs/src/gmalloc.c 311
2622cjava c-src/etags.c 2936 2622cjava c-src/etags.c 2936
2623class_method ruby-src/test.rb /^ def class_method$/ 2623instance_method ruby-src/test.rb /^ def instance_method$/
2624class_method_equals= ruby-src/test.rb /^ def class_method_equals=$/ 2624instance_method_equals= ruby-src/test.rb /^ def instance_method_equals=$/
2625class_method_exclamation! ruby-src/test.rb /^ def class_method_exclamation!$/ 2625instance_method_exclamation! ruby-src/test.rb /^ def instance_method_exclamation!$/
2626class_method_question? ruby-src/test.rb /^ def class_method_question?$/ 2626instance_method_question? ruby-src/test.rb /^ def instance_method_question?$/
2627classifyLine php-src/lce_functions.php /^ function classifyLine($line)$/ 2627classifyLine php-src/lce_functions.php /^ function classifyLine($line)$/
2628clear cp-src/conway.hpp /^ void clear(void) { alive = 0; }$/ 2628clear cp-src/conway.hpp /^ void clear(void) { alive = 0; }$/
2629clear-abbrev-table c-src/abbrev.c /^DEFUN ("clear-abbrev-table", Fclear_abbrev_table, / 2629clear-abbrev-table c-src/abbrev.c /^DEFUN ("clear-abbrev-table", Fclear_abbrev_table, /
@@ -3450,7 +3450,7 @@ miti html-src/softwarelibero.html /^Sfatiamo alcuni miti$/
3450modifier_names c-src/emacs/src/keyboard.c 6319 3450modifier_names c-src/emacs/src/keyboard.c 6319
3451modifier_symbols c-src/emacs/src/keyboard.c 6327 3451modifier_symbols c-src/emacs/src/keyboard.c 6327
3452modify_event_symbol c-src/emacs/src/keyboard.c /^modify_event_symbol (ptrdiff_t symbol_num, int mod/ 3452modify_event_symbol c-src/emacs/src/keyboard.c /^modify_event_symbol (ptrdiff_t symbol_num, int mod/
3453module_method ruby-src/test.rb /^ def module_method$/ 3453module_instance_method ruby-src/test.rb /^ def module_instance_method$/
3454more_aligned_int c.c 165 3454more_aligned_int c.c 165
3455morecore_nolock c-src/emacs/src/gmalloc.c /^morecore_nolock (size_t size)$/ 3455morecore_nolock c-src/emacs/src/gmalloc.c /^morecore_nolock (size_t size)$/
3456morecore_recursing c-src/emacs/src/gmalloc.c 604 3456morecore_recursing c-src/emacs/src/gmalloc.c 604
diff --git a/test/manual/etags/ETAGS.good_1 b/test/manual/etags/ETAGS.good_1
index 2ae4ec41256..dac20910347 100644
--- a/test/manual/etags/ETAGS.good_1
+++ b/test/manual/etags/ETAGS.good_1
@@ -2980,11 +2980,11 @@ class Configure(760,24879
2980ruby-src/test.rb,594 2980ruby-src/test.rb,594
2981module ModuleExample1,0 2981module ModuleExample1,0
2982 class ClassExample2,21 2982 class ClassExample2,21
2983 def class_method3,44 2983 def instance_method3,44
2984 def ClassExample.singleton_class_method6,116 2984 def ClassExample.class_method6,116
2985 def class_method_exclamation!9,221 2985 def instance_method_exclamation!9,221
2986 def class_method_question?12,319 2986 def instance_method_question?12,319
2987 def class_method_equals=class_method_equals=15,411 2987 def instance_method_equals=class_method_equals=15,411
2988 def `(18,499 2988 def `(18,499
2989 def +(21,589 2989 def +(21,589
2990 def [](24,637 2990 def [](24,637
@@ -2994,8 +2994,8 @@ module ModuleExample1,0
2994 def <=(<=36,869 2994 def <=(<=36,869
2995 def <=>(<=>39,940 2995 def <=>(<=>39,940
2996 def ===(===42,987 2996 def ===(===42,987
2997 def module_method46,1048 2997 def module_instance_method46,1048
2998 def ModuleExample.singleton_module_method49,1110 2998 def ModuleExample.module_class_method49,1110
2999 2999
3000ruby-src/test1.ruby,37 3000ruby-src/test1.ruby,37
3001class A1,0 3001class A1,0
diff --git a/test/manual/etags/ETAGS.good_2 b/test/manual/etags/ETAGS.good_2
index 3ec5b21d384..e5dbefbbd0d 100644
--- a/test/manual/etags/ETAGS.good_2
+++ b/test/manual/etags/ETAGS.good_2
@@ -3551,11 +3551,11 @@ class Configure(760,24879
3551ruby-src/test.rb,594 3551ruby-src/test.rb,594
3552module ModuleExample1,0 3552module ModuleExample1,0
3553 class ClassExample2,21 3553 class ClassExample2,21
3554 def class_method3,44 3554 def instance_method3,44
3555 def ClassExample.singleton_class_method6,116 3555 def ClassExample.class_method6,116
3556 def class_method_exclamation!9,221 3556 def instance_method_exclamation!9,221
3557 def class_method_question?12,319 3557 def instance_method_question?12,319
3558 def class_method_equals=class_method_equals=15,411 3558 def instance_method_equals=class_method_equals=15,411
3559 def `(18,499 3559 def `(18,499
3560 def +(21,589 3560 def +(21,589
3561 def [](24,637 3561 def [](24,637
@@ -3565,8 +3565,8 @@ module ModuleExample1,0
3565 def <=(<=36,869 3565 def <=(<=36,869
3566 def <=>(<=>39,940 3566 def <=>(<=>39,940
3567 def ===(===42,987 3567 def ===(===42,987
3568 def module_method46,1048 3568 def module_instance_method46,1048
3569 def ModuleExample.singleton_module_method49,1110 3569 def ModuleExample.module_class_method49,1110
3570 3570
3571ruby-src/test1.ruby,37 3571ruby-src/test1.ruby,37
3572class A1,0 3572class A1,0
diff --git a/test/manual/etags/ETAGS.good_3 b/test/manual/etags/ETAGS.good_3
index 43b84eed5d2..804440aad6d 100644
--- a/test/manual/etags/ETAGS.good_3
+++ b/test/manual/etags/ETAGS.good_3
@@ -3324,11 +3324,11 @@ class Configure(760,24879
3324ruby-src/test.rb,594 3324ruby-src/test.rb,594
3325module ModuleExample1,0 3325module ModuleExample1,0
3326 class ClassExample2,21 3326 class ClassExample2,21
3327 def class_method3,44 3327 def instance_method3,44
3328 def ClassExample.singleton_class_method6,116 3328 def ClassExample.class_method6,116
3329 def class_method_exclamation!9,221 3329 def instance_method_exclamation!9,221
3330 def class_method_question?12,319 3330 def instance_method_question?12,319
3331 def class_method_equals=class_method_equals=15,411 3331 def instance_method_equals=class_method_equals=15,411
3332 def `(18,499 3332 def `(18,499
3333 def +(21,589 3333 def +(21,589
3334 def [](24,637 3334 def [](24,637
@@ -3338,8 +3338,8 @@ module ModuleExample1,0
3338 def <=(<=36,869 3338 def <=(<=36,869
3339 def <=>(<=>39,940 3339 def <=>(<=>39,940
3340 def ===(===42,987 3340 def ===(===42,987
3341 def module_method46,1048 3341 def module_instance_method46,1048
3342 def ModuleExample.singleton_module_method49,1110 3342 def ModuleExample.module_class_method49,1110
3343 3343
3344ruby-src/test1.ruby,37 3344ruby-src/test1.ruby,37
3345class A1,0 3345class A1,0
diff --git a/test/manual/etags/ETAGS.good_4 b/test/manual/etags/ETAGS.good_4
index 434fe13cbd4..3b904ebe37c 100644
--- a/test/manual/etags/ETAGS.good_4
+++ b/test/manual/etags/ETAGS.good_4
@@ -3144,11 +3144,11 @@ class Configure(760,24879
3144ruby-src/test.rb,594 3144ruby-src/test.rb,594
3145module ModuleExample1,0 3145module ModuleExample1,0
3146 class ClassExample2,21 3146 class ClassExample2,21
3147 def class_method3,44 3147 def instance_method3,44
3148 def ClassExample.singleton_class_method6,116 3148 def ClassExample.class_method6,116
3149 def class_method_exclamation!9,221 3149 def instance_method_exclamation!9,221
3150 def class_method_question?12,319 3150 def instance_method_question?12,319
3151 def class_method_equals=class_method_equals=15,411 3151 def instance_method_equals=class_method_equals=15,411
3152 def `(18,499 3152 def `(18,499
3153 def +(21,589 3153 def +(21,589
3154 def [](24,637 3154 def [](24,637
@@ -3158,8 +3158,8 @@ module ModuleExample1,0
3158 def <=(<=36,869 3158 def <=(<=36,869
3159 def <=>(<=>39,940 3159 def <=>(<=>39,940
3160 def ===(===42,987 3160 def ===(===42,987
3161 def module_method46,1048 3161 def module_instance_method46,1048
3162 def ModuleExample.singleton_module_method49,1110 3162 def ModuleExample.module_class_method49,1110
3163 3163
3164ruby-src/test1.ruby,37 3164ruby-src/test1.ruby,37
3165class A1,0 3165class A1,0
diff --git a/test/manual/etags/ETAGS.good_5 b/test/manual/etags/ETAGS.good_5
index 425e2526f35..c3a277829f0 100644
--- a/test/manual/etags/ETAGS.good_5
+++ b/test/manual/etags/ETAGS.good_5
@@ -4059,11 +4059,11 @@ class Configure(760,24879
4059ruby-src/test.rb,594 4059ruby-src/test.rb,594
4060module ModuleExample1,0 4060module ModuleExample1,0
4061 class ClassExample2,21 4061 class ClassExample2,21
4062 def class_method3,44 4062 def instance_method3,44
4063 def ClassExample.singleton_class_method6,116 4063 def ClassExample.class_method6,116
4064 def class_method_exclamation!9,221 4064 def instance_method_exclamation!9,221
4065 def class_method_question?12,319 4065 def instance_method_question?12,319
4066 def class_method_equals=class_method_equals=15,411 4066 def instance_method_equals=class_method_equals=15,411
4067 def `(18,499 4067 def `(18,499
4068 def +(21,589 4068 def +(21,589
4069 def [](24,637 4069 def [](24,637
@@ -4073,8 +4073,8 @@ module ModuleExample1,0
4073 def <=(<=36,869 4073 def <=(<=36,869
4074 def <=>(<=>39,940 4074 def <=>(<=>39,940
4075 def ===(===42,987 4075 def ===(===42,987
4076 def module_method46,1048 4076 def module_instance_method46,1048
4077 def ModuleExample.singleton_module_method49,1110 4077 def ModuleExample.module_class_method49,1110
4078 4078
4079ruby-src/test1.ruby,37 4079ruby-src/test1.ruby,37
4080class A1,0 4080class A1,0
diff --git a/test/manual/etags/ETAGS.good_6 b/test/manual/etags/ETAGS.good_6
index 39522dbdb9b..2014283a89c 100644
--- a/test/manual/etags/ETAGS.good_6
+++ b/test/manual/etags/ETAGS.good_6
@@ -4059,11 +4059,11 @@ class Configure(760,24879
4059ruby-src/test.rb,594 4059ruby-src/test.rb,594
4060module ModuleExample1,0 4060module ModuleExample1,0
4061 class ClassExample2,21 4061 class ClassExample2,21
4062 def class_method3,44 4062 def instance_method3,44
4063 def ClassExample.singleton_class_method6,116 4063 def ClassExample.class_method6,116
4064 def class_method_exclamation!9,221 4064 def instance_method_exclamation!9,221
4065 def class_method_question?12,319 4065 def instance_method_question?12,319
4066 def class_method_equals=class_method_equals=15,411 4066 def instance_method_equals=class_method_equals=15,411
4067 def `(18,499 4067 def `(18,499
4068 def +(21,589 4068 def +(21,589
4069 def [](24,637 4069 def [](24,637
@@ -4073,8 +4073,8 @@ module ModuleExample1,0
4073 def <=(<=36,869 4073 def <=(<=36,869
4074 def <=>(<=>39,940 4074 def <=>(<=>39,940
4075 def ===(===42,987 4075 def ===(===42,987
4076 def module_method46,1048 4076 def module_instance_method46,1048
4077 def ModuleExample.singleton_module_method49,1110 4077 def ModuleExample.module_class_method49,1110
4078 4078
4079ruby-src/test1.ruby,37 4079ruby-src/test1.ruby,37
4080class A1,0 4080class A1,0
diff --git a/test/manual/etags/html-src/softwarelibero.html b/test/manual/etags/html-src/softwarelibero.html
index 159432908d2..b374273c969 100644
--- a/test/manual/etags/html-src/softwarelibero.html
+++ b/test/manual/etags/html-src/softwarelibero.html
@@ -302,7 +302,7 @@
302Local variables: 302Local variables:
303fill-column: 72 303fill-column: 72
304time-stamp-active: t 304time-stamp-active: t
305time-stamp-time-zone: "GMT" 305time-stamp-time-zone: "UTC0"
306time-stamp-format: "%:y-%02m-%02d" 306time-stamp-format: "%:y-%02m-%02d"
307time-stamp-line-limit: 30 307time-stamp-line-limit: 30
308time-stamp-start: "ultima\\s-+modifica\\s-+è\\s-+del\\s-+" 308time-stamp-start: "ultima\\s-+modifica\\s-+è\\s-+del\\s-+"
diff --git a/test/manual/etags/ruby-src/test.rb b/test/manual/etags/ruby-src/test.rb
index 9254c5bffa9..adb2cb1d0bc 100644
--- a/test/manual/etags/ruby-src/test.rb
+++ b/test/manual/etags/ruby-src/test.rb
@@ -1,19 +1,19 @@
1module ModuleExample 1module ModuleExample
2 class ClassExample 2 class ClassExample
3 def class_method 3 def instance_method
4 puts "in class_method" 4 puts "in instane_method"
5 end 5 end
6 def ClassExample.singleton_class_method 6 def ClassExample.class_method
7 puts "in singleton_class_method" 7 puts "in class_method"
8 end 8 end
9 def class_method_exclamation! 9 def instance_method_exclamation!
10 puts "in class_method_exclamation!" 10 puts "in instance_method_exclamation!"
11 end 11 end
12 def class_method_question? 12 def instance_method_question?
13 puts "in class_method_question?" 13 puts "in instance_method_question?"
14 end 14 end
15 def class_method_equals= 15 def instance_method_equals=
16 puts "in class_method_equals=" 16 puts "in instance_method_equals="
17 end 17 end
18 def `(command) 18 def `(command)
19 return "just testing a backquote override" 19 return "just testing a backquote override"
@@ -43,12 +43,16 @@ module ModuleExample
43 self == y 43 self == y
44 end 44 end
45 end 45 end
46 def module_method 46 def module_instance_method
47 puts "in module_method" 47 puts "in module_instance_method"
48 end 48 end
49 def ModuleExample.singleton_module_method 49 def ModuleExample.module_class_method
50 puts "in singleton_module_method" 50 puts "in module_class_method"
51 end 51 end
52end 52end
53 53
54ModuleExample::ClassExample.singleton_class_method 54ModuleExample::ClassExample.class_method
55
56# Local Variables:
57# ruby-indent-level: 4
58# End:
diff --git a/test/manual/indent/scss-mode.scss b/test/manual/indent/scss-mode.scss
index 7a29929efca..02a4a98a8c5 100644
--- a/test/manual/indent/scss-mode.scss
+++ b/test/manual/indent/scss-mode.scss
@@ -55,3 +55,13 @@ article[role="main"] {
55} 55}
56 56
57.box { @include border-radius(10px); } 57.box { @include border-radius(10px); }
58
59// bug:21230
60$list: (
61 ('a', #000000, #fff)
62 ('b', #000000, #fff)
63 ('c', #000000, #fff)
64 ('d', #000000, #fff)
65 ('e', #000000, #fff)
66 ('f', #000000, #fff)
67);