diff options
author | Björn Gustavsson <[email protected]> | 2015-05-06 14:28:42 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2015-05-06 14:34:52 +0200 |
commit | fd9525a6764e3aa0c29e6456ddaf75035559ebd5 (patch) | |
tree | a13ad081a3ee6ef5b19bb8b093b9c86b3e2cf538 /lib/stdlib/test/re_testoutput1_replacement_test.erl | |
parent | 83ff5ec3ced8ce1c456bfdf75fcbf5be01385388 (diff) | |
download | otp-fd9525a6764e3aa0c29e6456ddaf75035559ebd5.tar.gz otp-fd9525a6764e3aa0c29e6456ddaf75035559ebd5.tar.bz2 otp-fd9525a6764e3aa0c29e6456ddaf75035559ebd5.zip |
Correct filename:split(<<"">>)
filename:split("") returns [], while filename:split(<<"">>) returns
[<<"/">>].
Since the support in the filename module for binary arguments is
much more recent than support for strings, change
filename:split(<<"">>) so that it returns [].
Noticed-by: KOUCHANG
Diffstat (limited to 'lib/stdlib/test/re_testoutput1_replacement_test.erl')
0 files changed, 0 insertions, 0 deletions