diff options
author | Björn Gustavsson <[email protected]> | 2019-02-01 05:10:37 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2019-02-01 13:03:29 +0100 |
commit | 9a18f49b1c4d5cbbcec0ef4e85a33ead038b8faf (patch) | |
tree | 62014cef59c922fd27e0258f20343bc9005051e3 /lib/compiler | |
parent | adebeb157080af1f686a5ba844fb687cab093676 (diff) | |
download | otp-9a18f49b1c4d5cbbcec0ef4e85a33ead038b8faf.tar.gz otp-9a18f49b1c4d5cbbcec0ef4e85a33ead038b8faf.tar.bz2 otp-9a18f49b1c4d5cbbcec0ef4e85a33ead038b8faf.zip |
Correct test_lib:is_cloned_mod/1
test_lib:is_cloned_mod(inline_SUITE) would return true.
Diffstat (limited to 'lib/compiler')
-rw-r--r-- | lib/compiler/test/test_lib.erl | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/compiler/test/test_lib.erl b/lib/compiler/test/test_lib.erl index 26149e11e6..7fb4751b42 100644 --- a/lib/compiler/test/test_lib.erl +++ b/lib/compiler/test/test_lib.erl @@ -104,11 +104,11 @@ is_cloned_mod(Mod) -> %% Test whether Mod is a cloned module. -is_cloned_mod_1("no_opt_SUITE") -> true; -is_cloned_mod_1("post_opt_SUITE") -> true; -is_cloned_mod_1("inline_SUITE") -> true; -is_cloned_mod_1("21_SUITE") -> true; -is_cloned_mod_1("no_module_opt_SUITE") -> true; +is_cloned_mod_1("_no_opt_SUITE") -> true; +is_cloned_mod_1("_post_opt_SUITE") -> true; +is_cloned_mod_1("_inline_SUITE") -> true; +is_cloned_mod_1("_21_SUITE") -> true; +is_cloned_mod_1("_no_module_opt_SUITE") -> true; is_cloned_mod_1([_|T]) -> is_cloned_mod_1(T); is_cloned_mod_1([]) -> false. |