aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/test
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2015-02-17 09:32:16 +0100
committerBjörn Gustavsson <[email protected]>2015-02-18 13:04:21 +0100
commit56300cb8f57c9ec3594cc00904b103bee9a4cc46 (patch)
tree82062144f42fe3298e690474cbd91916001e1a10 /lib/compiler/test
parent9d8327c62a981bcc436e5f9fc5466f5539dce3dc (diff)
downloadotp-56300cb8f57c9ec3594cc00904b103bee9a4cc46.tar.gz
otp-56300cb8f57c9ec3594cc00904b103bee9a4cc46.tar.bz2
otp-56300cb8f57c9ec3594cc00904b103bee9a4cc46.zip
map_SUITE: Cover comparisons of 'nil' in v3_codegen
Diffstat (limited to 'lib/compiler/test')
-rw-r--r--lib/compiler/test/map_SUITE.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/compiler/test/map_SUITE.erl b/lib/compiler/test/map_SUITE.erl
index bc5ae803c6..cfa8262701 100644
--- a/lib/compiler/test/map_SUITE.erl
+++ b/lib/compiler/test/map_SUITE.erl
@@ -641,6 +641,7 @@ t_build_and_match_nil(Config) when is_list(Config) ->
"treat" => V2,
[] => V1 }),
#{ [] := V3, [] := V3 } = id(#{ [] => V1, [] => V3 }),
+ #{ <<1>> := V3, [] := V1 } = id(#{ [] => V1, <<1>> => V3 }),
ok.
t_build_and_match_structure(Config) when is_list(Config) ->