diff options
author | Dan Gudmundsson <[email protected]> | 2015-05-06 13:33:33 +0200 |
---|---|---|
committer | Dan Gudmundsson <[email protected]> | 2015-05-06 13:33:33 +0200 |
commit | 3339aabf37dc65fd3fa66482764fc9c533d65933 (patch) | |
tree | 45b06619aa81dc8cbfd135e175c3eb5bc22c6515 /lib/mnesia/test | |
parent | 83ff5ec3ced8ce1c456bfdf75fcbf5be01385388 (diff) | |
download | otp-3339aabf37dc65fd3fa66482764fc9c533d65933.tar.gz otp-3339aabf37dc65fd3fa66482764fc9c533d65933.tar.bz2 otp-3339aabf37dc65fd3fa66482764fc9c533d65933.zip |
mnesia: dirty error messages did not behave as documented
The docs express that exit({aborted, Reason}) are called when
an error occur.
Diffstat (limited to 'lib/mnesia/test')
-rw-r--r-- | lib/mnesia/test/mnesia_evil_coverage_test.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/mnesia/test/mnesia_evil_coverage_test.erl b/lib/mnesia/test/mnesia_evil_coverage_test.erl index 2d1623b6ca..430c1f1d84 100644 --- a/lib/mnesia/test/mnesia_evil_coverage_test.erl +++ b/lib/mnesia/test/mnesia_evil_coverage_test.erl @@ -1338,11 +1338,11 @@ user_properties(Config) when is_list(Config) -> ?match([], mnesia:table_info(Tab2, user_properties)), ?match([], mnesia:table_info(Tab3, user_properties)), - ?match({'EXIT', {no_exists, {Tab1, user_property, PropKey}}}, + ?match({'EXIT', {aborted, {no_exists, {Tab1, user_property, PropKey}}}}, mnesia:read_table_property(Tab1, PropKey)), - ?match({'EXIT', {no_exists, {Tab2, user_property, PropKey}}}, + ?match({'EXIT', {aborted, {no_exists, {Tab2, user_property, PropKey}}}}, mnesia:read_table_property(Tab2, PropKey)), - ?match({'EXIT', {no_exists, {Tab3, user_property, PropKey}}}, + ?match({'EXIT', {aborted, {no_exists, {Tab3, user_property, PropKey}}}}, mnesia:read_table_property(Tab3, PropKey)), ?match({atomic, ok}, mnesia:write_table_property(Tab1, Prop)), |