Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:24
erlang-getopt
getopt-test-utf8.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File getopt-test-utf8.patch of Package erlang-getopt
diff -Ndurp getopt/test/getopt_test.erl getopt-test-utf8/test/getopt_test.erl --- getopt/test/getopt_test.erl 2019-10-25 20:07:20.794638942 +0300 +++ getopt-test-utf8/test/getopt_test.erl 2019-10-25 20:11:15.365803468 +0300 @@ -364,4 +364,5 @@ utf8_binary_test_() -> {"Default utf8_binary argument", ?_assertEqual({ok, {[{utf8, Utf8}], []}}, parse(OptSpecsWithDefault, []))}, {"Default utf8_binary argument usage", - ?_assert(is_list(string:find(getopt:usage_options(OptSpecsWithDefault), Unicode)))}]. + ?_assertEqual({30, 8}, + binary:match(unicode:characters_to_binary(getopt:usage_options(OptSpecsWithDefault)), Utf8))}].
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor