aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/test/escript_SUITE_data
diff options
context:
space:
mode:
authorPatrik Nyblom <[email protected]>2013-02-19 10:27:14 +0100
committerPatrik Nyblom <[email protected]>2013-02-19 10:27:14 +0100
commit2a79b74ac371387ce338bacf979f9ca32447b302 (patch)
tree62a822d8c5bff83d6d1154feb19f2b31d3284ab8 /lib/stdlib/test/escript_SUITE_data
parent766fdc6d0fea2efacd4c4cdcc12992a2f5dbaee7 (diff)
downloadotp-2a79b74ac371387ce338bacf979f9ca32447b302.tar.gz
otp-2a79b74ac371387ce338bacf979f9ca32447b302.tar.bz2
otp-2a79b74ac371387ce338bacf979f9ca32447b302.zip
Adapt stdlib tests to ~tp detecting latin1 binaries
Diffstat (limited to 'lib/stdlib/test/escript_SUITE_data')
-rwxr-xr-xlib/stdlib/test/escript_SUITE_data/unicode12
1 files changed, 1 insertions, 1 deletions
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),