pike.git
/
src
/
testsuite.in
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/testsuite.in:11852:
dnl test_eq(utf8_to_string("\376\203\270\277\207\270\277", 1), "\77077077077") // The following uses the char that actually got tested. test_eq(string_to_utf8("\37077077077", 1), "\376\203\270\277\207\270\277") test_eq(utf8_to_string("\376\203\270\277\207\270\277", 1), "\37077077077") test_eq(utf8_to_string("\374\270\277\207\270\277", 1), "\7077077077") test_eq(utf8_to_string("\370\277\207\270\277", 1), "\77077077") test_eq(utf8_to_string("\367\207\270\277", 1), "\7077077") test_eval_error(return utf8_to_string("\355\257\277\355\277\277\355\257\200\355\260\200\355\240\200\355\260\200")) test_eq(utf8_to_string("\355\257\277\355\277\277\355\257\200\355\260\200\355\240\200\355\260\200", 2), "\U0010ffff\U00100000\U00010000")
-
test_eq(
string
_to_
utf8
("\364\217\277\277\364\200\200\200\360\220\200\200"), "\U0010ffff\U00100000\U00010000")
+
test_eq(
utf8
_to_
string
("\364\217\277\277\364\200\200\200\360\220\200\200"), "\U0010ffff\U00100000\U00010000")
test_eq(utf8_to_string("\347\270\277"), "\77077") test_eq(utf8_to_string("bl\303\244"), "blä") test_eq(utf8_to_string("foo"), "foo") test_eval_error(return string_to_utf8("\77077077077")) test_eval_error(return utf8_to_string("\376\203\270\277\207\270\277")) test_eval_error(return utf8_to_string("\277")); test_eval_error(return utf8_to_string("\377")); test_eval_error(return utf8_to_string("\376\203\270\277\207\270", 1)); test_eval_error(return utf8_to_string("\374\270\277\207\270"));