summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authormakoto kuwata <kwa@kuwata-lab.com>2006-05-22 13:58:05 +0000
committermakoto kuwata <kwa@kuwata-lab.com>2006-05-22 13:58:05 +0000
commit942d331e7eb531a4d5f3782fcbab6a68a610d5d4 (patch)
tree6dca97a34a75173b79c8ab62cb792453c1b807e0 /test
parent619a6f8cba1986858f313ae02e71f9d480be0c13 (diff)
downloaderubis-942d331e7eb531a4d5f3782fcbab6a68a610d5d4.tar.gz
- [change] Ec#escaped_expr() changed to use 'escape(expr, out)'
- [change] 'examples/example.ec' changed to include escape() function - [change] include 'bin/notext' into archive - [bugfix] command name was not displayed in help message - [bugfix] option '-S' currently support nested collection
Diffstat (limited to 'test')
-rw-r--r--test/test-engines.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test-engines.rb b/test/test-engines.rb
index 7eea84f..9a7dffd 100644
--- a/test/test-engines.rb
+++ b/test/test-engines.rb
@@ -117,7 +117,7 @@ __END__
<% for (i = 0; i < list; i++) { %>
<tr>
<td><%= "%d", i %></td>
- <td><%== "%s", list[i] %></td>
+ <td><%== list[i] %></td>
</tr>
<% } %>
</tbody>
@@ -130,7 +130,7 @@ __END__
for (i = 0; i < list; i++) {
fputs(" <tr>\n"
" <td>", stdout); fprintf(stdout, "%d", i); fputs("</td>\n"
- " <td>", stdout); fprintf(stdout, "%s", escape(list[i])); fputs("</td>\n"
+ " <td>", stdout); escape(list[i], stdout); fputs("</td>\n"
" </tr>\n", stdout);
}
fputs(" </tbody>\n"