diff options
author | Siri Hansen <[email protected]> | 2017-09-07 17:34:58 +0200 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2017-09-07 17:34:58 +0200 |
commit | 695ce64b3168c3fcc2d5f2de5cb74701f767e71d (patch) | |
tree | 153c3af70c221a063844e922d29c11ee9b82b64e /lib/common_test/src/ct_testspec.erl | |
parent | f4c24c5faba8cbf0817b4dd9559e2ae2223525f0 (diff) | |
parent | b569db7fd80de6f6f049797fa7676bdfbe55cc4f (diff) | |
download | otp-695ce64b3168c3fcc2d5f2de5cb74701f767e71d.tar.gz otp-695ce64b3168c3fcc2d5f2de5cb74701f767e71d.tar.bz2 otp-695ce64b3168c3fcc2d5f2de5cb74701f767e71d.zip |
Merge branch 'maint'
Diffstat (limited to 'lib/common_test/src/ct_testspec.erl')
-rw-r--r-- | lib/common_test/src/ct_testspec.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/common_test/src/ct_testspec.erl b/lib/common_test/src/ct_testspec.erl index 09839bd35d..bb445bb0d2 100644 --- a/lib/common_test/src/ct_testspec.erl +++ b/lib/common_test/src/ct_testspec.erl @@ -537,7 +537,7 @@ replace_names_in_elems([],Modified,_Defs) -> replace_names_in_string(Term,Defs=[{Name,Replacement=[Ch|_]}|Ds]) when is_integer(Ch) -> try re:replace(Term,[$'|atom_to_list(Name)]++"'", - Replacement,[{return,list}]) of + Replacement,[{return,list},unicode]) of Term -> % no match, proceed replace_names_in_string(Term,Ds); Term1 -> @@ -569,7 +569,7 @@ replace_names_in_node1(NodeStr,Defs=[{Name,Replacement}|Ds]) -> replace_names_in_node1(NodeStr,Ds); true -> case re:replace(NodeStr,atom_to_list(Name), - ReplStr,[{return,list}]) of + ReplStr,[{return,list},unicode]) of NodeStr -> % no match, proceed replace_names_in_node1(NodeStr,Ds); NodeStr1 -> |