X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/bcf252dfcdd7db22634ee483b457167eebf81951..7559e1ebf:/test/mhshow/test-textcharset?ds=inline diff --git a/test/mhshow/test-textcharset b/test/mhshow/test-textcharset index 4768808a..eafb6ad0 100755 --- a/test/mhshow/test-textcharset +++ b/test/mhshow/test-textcharset @@ -117,7 +117,7 @@ check "$expected" "$actual" grep -v 'mhshow-show-text/plain:' "$MH" >"$MH.new" mv -f "$MH.new" "$MH" cat >>"$MH" <<'EOF' -mhshow-show-text/plain: echo `ap -format '%(void(lit %{charset}))%<(nonnull)-I %(putstr)%>' 0` +mhshow-show-text/plain: charset="%{charset}"; echo ${charset:+-I $charset} EOF # check expansion of embedded %{charset} with no text following