default:
context:
lang: 'en'
visitor: 'ant'
node: 'status'
src: "simple text"
tem: "simple text"
res: "simple text"
show_mean_gsub:
src: ""
tem: "text.gsub(/#{puts \"I AM MEAN\"}/, \"\") 'dregx' not available in RubyLess."
erb:
src: "<% puts 'mean' %>"
tem: "<% puts 'mean' %>"
forbidden_methods:
src: "puts '\'bad\''"
tem: "/unknown method 'puts\(String\)'/"
syntax_error:
src: ""
tem: "!/<% puts \"mean\" %>/"
res: "/<% puts \"mean\"/"
mean_eval:
src: ""
tem: "/unknown method 'puts\(String\)'/"
mean_in_translation:
context:
lang: fr
src: "mean"
tem: "<% _zdict = load_dictionary(828931430) %><%= 5 + 8 %>"
build_erb_with_trans:
context:
lang: fr
src: "mean_m%= 5+8 %>"
tem: "<% _zdict = load_dictionary(828931430) %><%= 5+8 %>"
build_erb_with_void:
context:
lang: fr
src: "ABC: <%= 5+8 %>"
tem: "ABC: Invalid tag near '<</r:void><'"
erb_in_trans_do:
context:
lang: fr
src: |
mean
res: "!/13/"
erb_in_trans_do_t:
context:
lang: fr
src: |
res: "!/13/"
erb_in_trans_r_t:
context:
lang: fr
src: |
mean
res: "!/13/"
erb_in_trans_dyn_t:
context:
lang: fr
src: |
res: "!/13/"
erb_in_trans_link:
context:
lang: fr
src: |
res: "!/13/"
mean_inc:
src: '<'
res: '<'
build_erb_with_include:
src: "%= 5+8 %>"
tem: "!/<%= 5/"
mean_part:
src: "<
"
res: "Invalid tag near '<<div id='f'"
build_erb_with_include_remove_part:
src: "%= 5+8 %>"
tem: "!/<%= 5/"
build_erb_with_rubyless:
src: "%= 5+8 %>"
tem: "!/<%= 5/"
multiple_trans:
src: ""
tem: "<%"