diff options
author | John Högberg <[email protected]> | 2019-07-02 15:20:48 +0200 |
---|---|---|
committer | John Högberg <[email protected]> | 2019-07-05 09:45:09 +0200 |
commit | f753a18b12051a7f7d9198a29c61a210332150c4 (patch) | |
tree | b57c0027063a58697e5fee15305638089e44caaf /lib/compiler/test | |
parent | 2b5b3f1988d8ac46ba4c3de2c050af86511c7a18 (diff) | |
download | otp-f753a18b12051a7f7d9198a29c61a210332150c4.tar.gz otp-f753a18b12051a7f7d9198a29c61a210332150c4.tar.bz2 otp-f753a18b12051a7f7d9198a29c61a210332150c4.zip |
beam_types_SUITE: Fix shrinking of bitstrings
Diffstat (limited to 'lib/compiler/test')
-rw-r--r-- | lib/compiler/test/property_test/beam_types_prop.erl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/compiler/test/property_test/beam_types_prop.erl b/lib/compiler/test/property_test/beam_types_prop.erl index 80966bbfc8..e797440ba5 100644 --- a/lib/compiler/test/property_test/beam_types_prop.erl +++ b/lib/compiler/test/property_test/beam_types_prop.erl @@ -165,8 +165,7 @@ gen_atom() -> end). gen_binary() -> - ?SHRINK(#t_bitstring{unit=range(1, 128)}, - [#t_bitstring{unit=[1, 2, 3, 5, 7, 8, 16, 32, 64]}]). + ?SHRINK(#t_bitstring{unit=range(1, 128)}, [#t_bitstring{unit=1}]). gen_integer() -> oneof([gen_integer_bounded(), #t_integer{}]). |