From f1726ab5eeaac2118fe21acdfa9a25f9cfb03d8a Mon Sep 17 00:00:00 2001 From: Ed Seidl Date: Wed, 11 Dec 2024 09:03:30 -0800 Subject: [PATCH] add another test --- parquet/src/column/writer/mod.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/parquet/src/column/writer/mod.rs b/parquet/src/column/writer/mod.rs index 30eb5f0a6d2..7fe6533c829 100644 --- a/parquet/src/column/writer/mod.rs +++ b/parquet/src/column/writer/mod.rs @@ -3211,6 +3211,9 @@ mod tests { // Max 4-byte should not truncate assert!(increment_utf8("\u{10ffff}\u{10ffff}".as_bytes().to_vec()).is_none()); + + // Skip over surrogate pair range (0xD800..=0xDFFF) + test_inc("a\u{D7FF}", "a\u{e000}"); } #[test]