diff options
author | Fred Hebert <mononcqc@ferd.ca> | 2017-11-01 19:38:03 -0400 |
---|---|---|
committer | Fred Hebert <mononcqc@ferd.ca> | 2017-11-16 21:50:04 -0500 |
commit | 2d5cd9c00cfa4e58066b48beee4057fdd52cc7be (patch) | |
tree | b70ad1213e273460f199d55914032f75675c5e9a /test/rebar_dialyzer_SUITE.erl | |
parent | 557623ba897d580702034bd76f799b5107d72c6b (diff) |
OTP-21 readiness, Full Unicode support
This replaces all deprecated function usage by alternative ones based on
a version switch enacted at compile time, preventing all warnings.
This will likely introduce some possible runtime errors in using a
Rebar3 compiled on OTP-20 or OTP-21 back in versions 19 and earlier, but
we can't really work around that.
A bunch of dependencies have been updated to support OTP-21 without
warnings as well.
Diffstat (limited to 'test/rebar_dialyzer_SUITE.erl')
-rw-r--r-- | test/rebar_dialyzer_SUITE.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rebar_dialyzer_SUITE.erl b/test/rebar_dialyzer_SUITE.erl index d0a3611..6579afb 100644 --- a/test/rebar_dialyzer_SUITE.erl +++ b/test/rebar_dialyzer_SUITE.erl @@ -362,6 +362,6 @@ get_apps_from_beam_files(BeamFiles) -> lists:usort( [begin AppNameVsn = filename:basename(filename:dirname(filename:dirname(File))), - [AppName | _] = string:tokens(AppNameVsn ++ "-", "-"), + [AppName | _] = rebar_string:lexemes(AppNameVsn ++ "-", "-"), ec_cnv:to_atom(AppName) end || File <- BeamFiles]). |