From 2a79b74ac371387ce338bacf979f9ca32447b302 Mon Sep 17 00:00:00 2001 From: Patrik Nyblom Date: Tue, 19 Feb 2013 10:27:14 +0100 Subject: Adapt stdlib tests to ~tp detecting latin1 binaries --- lib/stdlib/test/escript_SUITE_data/unicode1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/stdlib/test/escript_SUITE_data/unicode1') diff --git a/lib/stdlib/test/escript_SUITE_data/unicode1 b/lib/stdlib/test/escript_SUITE_data/unicode1 index a77574625e..351bb785e5 100755 --- a/lib/stdlib/test/escript_SUITE_data/unicode1 +++ b/lib/stdlib/test/escript_SUITE_data/unicode1 @@ -6,7 +6,7 @@ main(_) -> ok = io:setopts([{encoding,unicode}]), _D = erlang:system_flag(backtrace_depth, 0), - A = <<"\x{aa}">>, + A = <<"\x{aaa}"/utf8>>, S = lists:flatten(io_lib:format("~p/~p.", [A, A])), {ok, Ts, _} = erl_scan:string(S, 1, [unicode]), {ok, Es} = erl_parse:parse_exprs(Ts), -- cgit v1.2.3