aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorStefan Monnier2010-09-30 01:28:20 +0200
committerStefan Monnier2010-09-30 01:28:20 +0200
commita01a7932080e8a6e7bc8472c58cefabcc2c37df3 (patch)
tree94b28b19c8f1536e76ffe7d5826811b74a79e3a5 /test
parentcc390e46c7ba95b76ea133d98fd386214cd01709 (diff)
parent6b0f7311f16646e0de2045b2410e20921901c616 (diff)
downloademacs-a01a7932080e8a6e7bc8472c58cefabcc2c37df3.tar.gz
emacs-a01a7932080e8a6e7bc8472c58cefabcc2c37df3.zip
Merge from trunk
Diffstat (limited to 'test')
-rw-r--r--test/ChangeLog11
-rw-r--r--test/indent/octave.m4
-rw-r--r--test/indent/prolog.prolog2
3 files changed, 13 insertions, 4 deletions
diff --git a/test/ChangeLog b/test/ChangeLog
index 12238560dc9..feae114f862 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,3 +1,11 @@
12010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * indent/prolog.prolog: Use normal spacing around !.
4
52010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
6
7 * indent/octave.m: Remove one more `fixindent'. Use `end'.
8
12010-09-10 Stefan Monnier <monnier@iro.umontreal.ca> 92010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2 10
3 * indent/octave.m: Remove some `fixindent' not needed any more. 11 * indent/octave.m: Remove some `fixindent' not needed any more.
@@ -18,7 +26,8 @@
18 (icalendar-testsuite--do-test-export): Code formatting. 26 (icalendar-testsuite--do-test-export): Code formatting.
19 (icalendar-testsuite--test-parse-vtimezone): Doc fix. 27 (icalendar-testsuite--test-parse-vtimezone): Doc fix.
20 (icalendar-testsuite--do-test-import) 28 (icalendar-testsuite--do-test-import)
21 (icalendar-testsuite--do-test-cycle): Use icalendar-testsuite--compare-strings 29 (icalendar-testsuite--do-test-cycle):
30 Use icalendar-testsuite--compare-strings
22 (icalendar-testsuite--run-import-tests): Comment added. 31 (icalendar-testsuite--run-import-tests): Comment added.
23 (icalendar-testsuite--run-import-tests) 32 (icalendar-testsuite--run-import-tests)
24 (icalendar-testsuite--run-real-world-tests): Fix expected results. 33 (icalendar-testsuite--run-real-world-tests): Fix expected results.
diff --git a/test/indent/octave.m b/test/indent/octave.m
index 61db73b91e8..dc6f8448152 100644
--- a/test/indent/octave.m
+++ b/test/indent/octave.m
@@ -6,7 +6,7 @@ function res = tcomp (fn)
6 6
7 if nargin ~= 1 7 if nargin ~= 1
8 print_usage() 8 print_usage()
9 endif 9 end
10 10
11 data = dlmread(fn, 3, 0); 11 data = dlmread(fn, 3, 0);
12 12
@@ -1412,7 +1412,7 @@ function create_pkgadddel (desc, packdir, nm, global_install)
1412 for i = 1:length (lst) 1412 for i = 1:length (lst)
1413 nam = fullfile (packdir, "inst", lst(i).name); 1413 nam = fullfile (packdir, "inst", lst(i).name);
1414 fwrite (instfid, extract_pkg (nam, ['^[#%][#%]* *' nm ': *(.*)$'])); 1414 fwrite (instfid, extract_pkg (nam, ['^[#%][#%]* *' nm ': *(.*)$']));
1415 endfor # fixindent 1415 endfor
1416 1416
1417 ## Search all C++ source files for PKG commands. 1417 ## Search all C++ source files for PKG commands.
1418 lst = dir (fullfile (packdir, "src", "*.cc")); 1418 lst = dir (fullfile (packdir, "src", "*.cc"));
diff --git a/test/indent/prolog.prolog b/test/indent/prolog.prolog
index 968cef57114..8b96cd56a33 100644
--- a/test/indent/prolog.prolog
+++ b/test/indent/prolog.prolog
@@ -150,7 +150,7 @@ generalize(Ee, Te, Env, Eg, Tg) :-
150%% instantiate(+X, +T, -E) 150%% instantiate(+X, +T, -E)
151%% Utilise la variable X de type T. Le résultat E est X auquel on ajoute 151%% Utilise la variable X de type T. Le résultat E est X auquel on ajoute
152%% tous les arguments implicites (de valeur inconnue). 152%% tous les arguments implicites (de valeur inconnue).
153instantiate(X, T, X) :- var(T), ! . 153instantiate(X, T, X) :- var(T), !.
154instantiate(X, forall(_, _, T), app(E, _)) :- !, instantiate(X, T, E). 154instantiate(X, forall(_, _, T), app(E, _)) :- !, instantiate(X, T, E).
155instantiate(X, _, X). 155instantiate(X, _, X).
156 156