Index: openacs-4/packages/acs-lang/tcl/test/acs-lang-test-procs.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-lang/tcl/test/acs-lang-test-procs.tcl,v
diff -u -r1.27 -r1.28
--- openacs-4/packages/acs-lang/tcl/test/acs-lang-test-procs.tcl 22 Jul 2018 09:46:48 -0000 1.27
+++ openacs-4/packages/acs-lang/tcl/test/acs-lang-test-procs.tcl 9 Sep 2018 18:51:18 -0000 1.28
@@ -623,15 +623,15 @@
set adp_chunk "@array.variable_name@ @variable_name2;noquote@ peter@collaboraid.biz"
set adp_chunk_converted [lang::util::convert_adp_variables_to_percentage_signs $adp_chunk]
set adp_chunk_expected "%array.variable_name% %variable_name2;noquote% peter@collaboraid.biz"
- aa_equals "adp vars should be subsituted with percentage sings" $adp_chunk_converted $adp_chunk_expected
+ aa_equals "adp vars should be substituted with percentage sings" $adp_chunk_converted $adp_chunk_expected
set adp_chunk_converted_back [lang::util::convert_percentage_signs_to_adp_variables $adp_chunk_converted]
aa_equals "after having converted the text with percentage signs back to adp we should have what we started with" $adp_chunk_converted $adp_chunk_expected
# Test that a string can start with adp vars
set adp_chunk "@first_names.foobar;noquote@ @last_name@ peter@collaboraid.biz"
set adp_chunk_converted [lang::util::convert_adp_variables_to_percentage_signs $adp_chunk]
set adp_chunk_expected "%first_names.foobar;noquote% %last_name% peter@collaboraid.biz"
- aa_equals "adp vars should be subsituted with percentage sings" $adp_chunk_converted $adp_chunk_expected
+ aa_equals "adp vars should be substituted with percentage sings" $adp_chunk_converted $adp_chunk_expected
set adp_chunk_converted_back [lang::util::convert_percentage_signs_to_adp_variables $adp_chunk_converted]
aa_equals "after having converted the text with percentage signs back to adp we should have what we started with" $adp_chunk_converted $adp_chunk_expected