diff options
author | John Högberg <[email protected]> | 2018-02-15 13:24:35 +0100 |
---|---|---|
committer | John Högberg <[email protected]> | 2018-02-15 14:37:06 +0100 |
commit | 45f2c76f3f4f83e82d6475536e488d4efa724a91 (patch) | |
tree | aa88c48f9e4c31e7ca9a57825b2806cded33b9b7 /erts/emulator | |
parent | 0f5dfb1695108383a903d4f0062b96edc8eaa957 (diff) | |
download | otp-45f2c76f3f4f83e82d6475536e488d4efa724a91.tar.gz otp-45f2c76f3f4f83e82d6475536e488d4efa724a91.tar.bz2 otp-45f2c76f3f4f83e82d6475536e488d4efa724a91.zip |
Test badarg when an improper list tail contains a bitstring
This has always worked but we lacked test coverage for it.
Diffstat (limited to 'erts/emulator')
-rw-r--r-- | erts/emulator/test/iovec_SUITE.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/test/iovec_SUITE.erl b/erts/emulator/test/iovec_SUITE.erl index b65d13aaa8..baf1174a14 100644 --- a/erts/emulator/test/iovec_SUITE.erl +++ b/erts/emulator/test/iovec_SUITE.erl @@ -78,7 +78,7 @@ illegal_lists(Config) when is_list(Config) -> BitStrs = gen_variations(["gurka", <<1:1>>, "gaffel"]), BadInts = gen_variations(["gurka", 890, "gaffel"]), Atoms = gen_variations([gurka, "gaffel"]), - BadTails = [["test" | 0], ["gurka", gaffel]], + BadTails = [["test" | 0], ["gurka" | gaffel], ["gaffel" | <<1:1>>]], Variations = BitStrs ++ BadInts ++ Atoms ++ BadTails, |