summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/oberdiek/test
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2008-06-30 18:43:22 +0000
committerKarl Berry <karl@freefriends.org>2008-06-30 18:43:22 +0000
commit5d9b879935ba24f2a63a4064c1973d0e7366ea5a (patch)
treef8f63b8e840d390d4c0f3c7ff62afc308bc513f7 /Master/texmf-dist/doc/latex/oberdiek/test
parentc802b74b34d31fa0f4f44c0ca80ebac5ccea7554 (diff)
oberdiek update (28jun08)
git-svn-id: svn://tug.org/texlive/trunk@9117 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/oberdiek/test')
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/test/letltxmacro-test1.tex2
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/test/letltxmacro-test2.tex36
2 files changed, 27 insertions, 11 deletions
diff --git a/Master/texmf-dist/doc/latex/oberdiek/test/letltxmacro-test1.tex b/Master/texmf-dist/doc/latex/oberdiek/test/letltxmacro-test1.tex
index 759c833232c..b53d2bdb08f 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/test/letltxmacro-test1.tex
+++ b/Master/texmf-dist/doc/latex/oberdiek/test/letltxmacro-test1.tex
@@ -65,7 +65,7 @@
\catcode`\%=14 %
\catcode`\ =10 %
\catcode13=5 %
- \RequirePackage{letltxmacro}[2008/06/13]\relax
+ \RequirePackage{letltxmacro}[2008/06/24]\relax
\RestoreCatcodes
}
\Test
diff --git a/Master/texmf-dist/doc/latex/oberdiek/test/letltxmacro-test2.tex b/Master/texmf-dist/doc/latex/oberdiek/test/letltxmacro-test2.tex
index e98085bde88..e8db449e320 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/test/letltxmacro-test2.tex
+++ b/Master/texmf-dist/doc/latex/oberdiek/test/letltxmacro-test2.tex
@@ -32,7 +32,7 @@
\nofiles
\documentclass{minimal}
-\usepackage{letltxmacro}[2008/06/13]
+\usepackage{letltxmacro}[2008/06/24]
\usepackage{qstest}
\IncludeTests{*}
@@ -129,11 +129,12 @@
\TestDef{TestB}{\iffalse }%
\TestEquals{TestA}{TestB}%
\end{qstest}
-\usepackage{etoolbox}[2008/06/12]
+\usepackage{etoolbox}[2008/06/22]
-\begin{qstest}{newrobustcmd}{oldnewrobustcmd}
+\begin{qstest}{oldnewrobustcmd}{oldnewrobustcmd}
\protected\edef\TestA{%
- \noexpand\@testopt
+ \noexpand\@protected@testopt
+ \noexpand\TestA
\expandafter\noexpand\csname\string\TestA\endcsname
{\noexpand\default}%
}%
@@ -141,9 +142,10 @@
\def\csname\string\TestA\endcsname{TestA}%
\SaveA
\LetLtxMacro\TestB\TestA
- \TestDef{TestB}{\@testopt \\TestB {\default }}%
+ \TestDef{TestB}{\@protected@testopt \TestB \\TestB {\default }}%
\protected\edef\TestC{%
- \noexpand\@testopt
+ \noexpand\@protected@testopt
+ \noexpand\TestB
\expandafter\noexpand\csname\string\TestB\endcsname
{\noexpand\default}%
}%
@@ -155,10 +157,9 @@
\newrobustcmd{\TestA}[1][\default]{TestA}%
\SaveA
\LetLtxMacro\TestB\TestA
- \TestDef{TestB}{\@protected@testopt \TestB \\TestB {\default }}%
+ \TestDef{TestB}{\@testopt \\TestB {\default }}%
\protected\edef\TestC{%
- \noexpand\@protected@testopt
- \noexpand\TestB
+ \noexpand\@testopt
\expandafter\noexpand\csname\string\TestB\endcsname
{\noexpand\default}%
}%
@@ -197,7 +198,22 @@
\SaveA
\LetLtxMacro\TestB\TestA
\TestDef{TestB}{\iffalse }%
- \protected\long\def\TestC{\iffalse}%
+ % before etoolbox 2008/06/22: \protected\long\def
+ % since etoolbox 2008/06/22: \protected\def
+ \protected\def\TestC{\iffalse}%
+ \TestEquals{TestB}{TestC}%
+ \CheckA
+\end{qstest}
+
+\begin{qstest}{robustifydeclarelong}{robustifydeclarelong}
+ \DeclareRobustCommand\TestA[1]{\iffalse}%
+ \robustify\TestA
+ \SaveA
+ \LetLtxMacro\TestB\TestA
+ \TestDef{TestB}{\iffalse }%
+ % before etoolbox 2008/06/22: \protected\long\def
+ % since etoolbox 2008/06/22: \protected\def
+ \protected\long\def\TestC#1{\iffalse}%
\TestEquals{TestB}{TestC}%
\CheckA
\end{qstest}