pike.git/
src/
testsuite.in
Branch:
Tag:
Non-build tags
All tags
No tags
2014-12-04
2014-12-04 19:23:45 by Martin Nilsson <nilsson@opera.com>
bd936525f57bf77f23afdc3cb68d91fe06dcf7dd (
7
lines) (+
4
/-
3
)
[
Show
|
Annotate
]
Branch:
bill/master_archive_support
Rewrite Locale.Charset to Charset
601:
// Test case from Robert J. Budzynski <Robert.Budzynski@fuw.edu.pl>. // When broken the return type will be mixed. sprintf("%O", typeof(lambda(string s){
-
return
Locale.
Charset.decoder("utf-8")->feed(s)->drain();
+
return Charset.decoder("utf-8")->feed(s)->drain();
})) ]], [[ "function(string : string)" ]])
2307:
define(test_backtrace_line_charset, [[ test_any([[ program p=compile_string(
-
Locale.
Charset.encoder("]]$1[[")->feed(
+
Charset.encoder("]]$1[[")->feed(
"#charset ]]$1[[\n" "int foo()\n" "{\n"
9339:
test_eq([[cpp("foo _Pragma(\"strict_types \\\\back \\\"str\\\"\") bar")]], "#line 1 \"-\"\nfoo \n#pragma strict_types \\back \"str\"\n#line 1 \"-\"\n bar") test_equal([[
-
compile_string(
Locale.
Charset.encoder("ebcdic-us")->
+
compile_string(Charset.encoder("ebcdic-us")->
feed("#charset ebcdic-us\n" "constant val = \"abc\";\n")->drain())()->val; ]], "abc")