[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] trunk r117166: * test/indent/ps-mode.ps: New file.
From: |
Stefan Monnier |
Subject: |
[Emacs-diffs] trunk r117166: * test/indent/ps-mode.ps: New file. |
Date: |
Tue, 27 May 2014 14:28:12 +0000 |
User-agent: |
Bazaar (2.6b2) |
------------------------------------------------------------
revno: 117166
revision-id: address@hidden
parent: address@hidden
committer: Stefan Monnier <address@hidden>
branch nick: trunk
timestamp: Tue 2014-05-27 10:28:07 -0400
message:
* 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.
added:
test/indent/ps-mode.ps psmode.ps-20140425191550-masnetfiy46mzhqh-1
modified:
test/ChangeLog changelog-20091113204419-o5vbwnq5f7feedwu-8588
test/automated/core-elisp-tests.el
coreelisptests.el-20130802205303-9v41l78e19i5rmnr-1
test/indent/octave.m octave.m-20100830202136-aixgxrga4de1k393-1
test/indent/ruby.rb ruby.rb-20120424165921-h044139hbrd7snvw-1
=== modified file 'test/ChangeLog'
--- a/test/ChangeLog 2014-05-26 16:52:28 +0000
+++ b/test/ChangeLog 2014-05-27 14:28:07 +0000
@@ -1,3 +1,14 @@
+2014-05-27 Stefan Monnier <address@hidden>
+
+ * 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 <address@hidden>
* automated/package-test.el (package-test-install-single):
=== modified file 'test/automated/core-elisp-tests.el'
--- a/test/automated/core-elisp-tests.el 2014-01-01 07:43:34 +0000
+++ b/test/automated/core-elisp-tests.el 2014-05-27 14:28:07 +0000
@@ -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
=== modified file 'test/indent/octave.m'
--- a/test/indent/octave.m 2013-05-29 06:50:48 +0000
+++ b/test/indent/octave.m 2014-05-27 14:28:07 +0000
@@ -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
=== added file 'test/indent/ps-mode.ps'
--- a/test/indent/ps-mode.ps 1970-01-01 00:00:00 +0000
+++ b/test/indent/ps-mode.ps 2014-05-27 14:28:07 +0000
@@ -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
=== modified file 'test/indent/ruby.rb'
--- a/test/indent/ruby.rb 2014-05-10 20:07:01 +0000
+++ b/test/indent/ruby.rb 2014-05-27 14:28:07 +0000
@@ -6,6 +6,10 @@
foo
end
+def foo
+ %^bar^
+end
+
# Percent literals.
b = %Q{This is a "string"}
c = %w!foo
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] trunk r117166: * test/indent/ps-mode.ps: New file.,
Stefan Monnier <=