[COMMIT LOGREPORT] service/all/lib/tests UtilsTest.pm,1.54,1.55
Francis J. Lacoste
flacoste at users.sourceforge.net
Thu Sep 15 16:43:39 CEST 2005
Update of /cvsroot/logreport/service/all/lib/tests
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19939/all/lib/tests
Modified Files:
UtilsTest.pm
Log Message:
Proper LaTeX escaping for ^ and ~.
Index: UtilsTest.pm
===================================================================
RCS file: /cvsroot/logreport/service/all/lib/tests/UtilsTest.pm,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -r1.54 -r1.55
--- UtilsTest.pm 25 Aug 2004 21:08:41 -0000 1.54
+++ UtilsTest.pm 15 Sep 2005 14:43:36 -0000 1.55
@@ -40,7 +40,7 @@
sub test_latex_encode {
my $self = $_[0];
- $self->assert_str_equals( '\\# \\$ \\& \\~ \\_ \\^ \\% \\{ \\} $\\backslash$ Other $[$ $]$ $<$ $>$', latex_encode( '# $ & ~ _ ^ % { } \\ Other [ ] < >' ) );
+ $self->assert_str_equals( '\\# \\$ \\& \\~{} \\_ \\^{} \\% \\{ \\} $\\backslash$ Other $[$ $]$ $<$ $>$', latex_encode( '# $ & ~ _ ^ % { } \\ Other [ ] < >' ) );
}
sub test_diff_lists {
--
To UNSUBSCRIBE, email to commit-request at logreport.org with a subject of
"unsubscribe". Trouble? Send an email with subject "help" to
commit-request at logreport.org
More information about the Commit
mailing list