commit | 398b296f3b205daa8964de1a63957efeb59f6bdf | [log] [tgz] |
---|---|---|
author | Behdad Esfahbod <behdad@behdad.org> | Sat Aug 31 12:44:24 2019 -0500 |
committer | Behdad Esfahbod <behdad@behdad.org> | Sat Aug 31 12:44:24 2019 -0500 |
tree | 2c72d94943f204037eefea2cf0bca8cfaa89df1b | |
parent | 875131d47854c162c1d0a39a5c0f8f8d0c5f24e0 [diff] [blame] |
[iter] Add hb_len()
diff --git a/src/test-iter.cc b/src/test-iter.cc index 7ce6d8f..10db975 100644 --- a/src/test-iter.cc +++ b/src/test-iter.cc
@@ -272,7 +272,7 @@ hb_repeat (7u); hb_repeat (nullptr); hb_repeat (vl); - assert ((hb_range (10) | hb_take (3)).len () == 3); + assert (hb_len (hb_range (10) | hb_take (3)) == 3); assert (hb_range (9).len () == 9); assert (hb_range (2, 9).len () == 7); assert (hb_range (2, 9, 3).len () == 3);