| Index: pkg/barback/lib/src/utils.dart
|
| diff --git a/pkg/barback/lib/src/utils.dart b/pkg/barback/lib/src/utils.dart
|
| index a958c2160beb34718a662ebed7edd8b05eadc20d..c4ab3a3f3ee0a0ce2a7031f03cbab012208b193d 100644
|
| --- a/pkg/barback/lib/src/utils.dart
|
| +++ b/pkg/barback/lib/src/utils.dart
|
| @@ -8,7 +8,7 @@ library barback.utils;
|
| ///
|
| /// For example, given `255`, returns `ff`.
|
| String byteToHex(int byte) {
|
| - assert(byte >= 0 && byte < 255);
|
| + assert(byte >= 0 && byte <= 255);
|
|
|
| const DIGITS = "0123456789abcdef";
|
| return DIGITS[(byte ~/ 16) % 16] + DIGITS[byte % 16];
|
|
|