aboutsummaryrefslogtreecommitdiffstats
path: root/src/util/constant.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/constant.rs')
-rw-r--r--src/util/constant.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/constant.rs b/src/util/constant.rs
index a9a7895..e9deac2 100644
--- a/src/util/constant.rs
+++ b/src/util/constant.rs
@@ -2442,13 +2442,13 @@ mod tests {
fn constants() {
assert_eq!(
CHARACTER_REFERENCE_DECIMAL_SIZE_MAX,
- format!("{}", 0x10ffff).len(),
+ format!("{}", 0x0010_ffff).len(),
"`CHARACTER_REFERENCE_DECIMAL_SIZE_MAX`"
);
assert_eq!(
CHARACTER_REFERENCE_HEXADECIMAL_SIZE_MAX,
- format!("{:x}", 0x10ffff).len(),
+ format!("{:x}", 0x0010_ffff).len(),
"`CHARACTER_REFERENCE_HEXADECIMAL_SIZE_MAX`"
);