aboutsummaryrefslogtreecommitdiffstats
path: root/tests/text.rs
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2019-11-23 13:17:55 -0500
committerJesse Luehrs <doy@tozt.net>2019-11-23 13:33:41 -0500
commitdf312db3c428e7e8936c5ad6846629236bcb6240 (patch)
treebb8ca39f256cf4605cacd78782f80fdbb0e82ec6 /tests/text.rs
parentcd94e2ccb2272286fd0e2bc8ae67db2fba5276e5 (diff)
downloadvt100-rust-df312db3c428e7e8936c5ad6846629236bcb6240.tar.gz
vt100-rust-df312db3c428e7e8936c5ad6846629236bcb6240.zip
make unicode normalization optional
it's not always necessary or desired, and adds quite a lot to the binary size (for instance, the problem it solves is pretty much non-existent in web browsers, and wasm builds are also very sensitive to code size)
Diffstat (limited to 'tests/text.rs')
-rw-r--r--tests/text.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/text.rs b/tests/text.rs
index 81201a1..1ad16ae 100644
--- a/tests/text.rs
+++ b/tests/text.rs
@@ -130,6 +130,7 @@ fn wide() {
);
}
+#[cfg(feature = "unicode-normalization")]
#[test]
fn combining() {
let mut parser = vt100::Parser::default();