mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-26 10:49:33 +00:00
* test/indent/ps-mode.ps: New file.
* test/automated/core-elisp-tests.el (core-elisp-test-window-configurations): New test. * test/indent/octave.m: Add a few more tests. * test/indent/ruby.rb: Add one more test.
This commit is contained in:
parent
c24163d444
commit
c435f506a1
@ -1,3 +1,14 @@
|
||||
2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
|
||||
|
||||
* indent/ruby.rb: Add one more test.
|
||||
|
||||
* indent/ps-mode.ps: New file.
|
||||
|
||||
* indent/octave.m: Add a few more tests.
|
||||
|
||||
* automated/core-elisp-tests.el
|
||||
(core-elisp-test-window-configurations): New test.
|
||||
|
||||
2014-05-26 Glenn Morris <rgm@gnu.org>
|
||||
|
||||
* automated/package-test.el (package-test-install-single):
|
||||
|
@ -36,5 +36,14 @@
|
||||
c-e-x)
|
||||
'(1 2)))))
|
||||
|
||||
(ert-deftest core-elisp-test-window-configurations ()
|
||||
"Test properties of window-configurations."
|
||||
(let ((wc (current-window-configuration)))
|
||||
(with-current-buffer (window-buffer (frame-selected-window))
|
||||
(push-mark)
|
||||
(activate-mark))
|
||||
(set-window-configuration wc)
|
||||
(should (or (not mark-active) (mark)))))
|
||||
|
||||
(provide 'core-elisp-tests)
|
||||
;;; core-elisp-tests.el ends here
|
||||
|
@ -14,7 +14,15 @@
|
||||
y = 'hello';
|
||||
z = y';
|
||||
|
||||
## Bug#14399.
|
||||
vec = [...
|
||||
one;...
|
||||
two;...
|
||||
three];
|
||||
|
||||
cnty = repmat(x(:,1)(:), 10, 1);
|
||||
x = ...
|
||||
12
|
||||
|
||||
pop = x(:,1:10)(:);
|
||||
## Here and below, we test if the indentation aligns with a previous
|
||||
|
14
test/indent/ps-mode.ps
Normal file
14
test/indent/ps-mode.ps
Normal file
@ -0,0 +1,14 @@
|
||||
%!PS-2.0
|
||||
|
||||
<< 23 45 >> %dictionary
|
||||
< 23 > %hex string
|
||||
<~a>a%a~> %base85 string
|
||||
(%)s
|
||||
(sf\(g>a)sdg)
|
||||
|
||||
/foo {
|
||||
<<
|
||||
hello 2
|
||||
3
|
||||
>>
|
||||
} def
|
@ -6,6 +6,10 @@
|
||||
foo
|
||||
end
|
||||
|
||||
def foo
|
||||
%^bar^
|
||||
end
|
||||
|
||||
# Percent literals.
|
||||
b = %Q{This is a "string"}
|
||||
c = %w!foo
|
||||
|
Loading…
Reference in New Issue
Block a user