hive-c0re: fix a stale function-name reference in a comment
argus caught it in review: a comment still named is_byte_size, which this PR's own diff renamed to normalized_byte_size.
This commit is contained in:
parent
27bed74d42
commit
2e97ab9dc5
1 changed files with 1 additions and 1 deletions
|
|
@ -476,7 +476,7 @@ mod tests {
|
||||||
parse_bytes("1.5G"),
|
parse_bytes("1.5G"),
|
||||||
Some(1024 * 1024 * 1024 + 512 * 1024 * 1024)
|
Some(1024 * 1024 * 1024 + 512 * 1024 * 1024)
|
||||||
);
|
);
|
||||||
// Lowercase suffixes accepted, matching `is_byte_size`.
|
// Lowercase suffixes accepted, matching `normalized_byte_size`.
|
||||||
assert_eq!(parse_bytes("4g"), Some(4 * 1024 * 1024 * 1024));
|
assert_eq!(parse_bytes("4g"), Some(4 * 1024 * 1024 * 1024));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue