diff options
author | Björn-Egil Dahlberg <[email protected]> | 2014-02-20 14:21:23 +0100 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2014-02-20 14:21:23 +0100 |
commit | 1c37990e06a4588b941f430f872ad45001b63844 (patch) | |
tree | 31dd37c300c6dea005e80ec836b178a5ae8b05f3 /lib/compiler/test/map_SUITE.erl | |
parent | f31d54aeaad8bccb0b4e7291ed443e757e2edb5d (diff) | |
download | otp-1c37990e06a4588b941f430f872ad45001b63844.tar.gz otp-1c37990e06a4588b941f430f872ad45001b63844.tar.bz2 otp-1c37990e06a4588b941f430f872ad45001b63844.zip |
compiler: Strengthen Maps compile tests
Diffstat (limited to 'lib/compiler/test/map_SUITE.erl')
-rw-r--r-- | lib/compiler/test/map_SUITE.erl | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/compiler/test/map_SUITE.erl b/lib/compiler/test/map_SUITE.erl index b76108005c..7d35ffc8d5 100644 --- a/lib/compiler/test/map_SUITE.erl +++ b/lib/compiler/test/map_SUITE.erl @@ -106,8 +106,6 @@ t_build_and_match_literals(Config) when is_list(Config) -> id(#{ map_1=>#{ map_2=>#{value_3 => third}, value_2=> second}, value_1=>first}), %% error case - %V = 32, - %{'EXIT',{{badmatch,_},_}} = (catch (#{<<"hi all">> => 1} = id(#{<<"hi",V,"all">> => 1}))), {'EXIT',{{badmatch,_},_}} = (catch (#{x:=3,x:=2} = id(#{x=>3}))), {'EXIT',{{badmatch,_},_}} = (catch (#{x:=2} = id(#{x=>3}))), {'EXIT',{{badmatch,_},_}} = (catch (#{x:=3} = id({a,b,c}))), |