Merge pull request #86 from uutils/renovate/unicode-width-0.x-lockfile

Update Rust crate unicode-width to v0.1.14
This commit is contained in:
Olivier Tilloy
2024-09-19 22:57:18 +02:00
committed by GitHub
2 changed files with 7 additions and 6 deletions
Generated
+2 -2
View File
@@ -411,9 +411,9 @@ checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b"
[[package]]
name = "unicode-width"
version = "0.1.13"
version = "0.1.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0336d538f7abc86d282a4189614dfaa90810dfc2c6f6427eaf88e16311dd225d"
checksum = "7dd6e30e90baa6f72411720665d41d89b9a3d039dc45b8faea1ddd07f617f6af"
[[package]]
name = "wait-timeout"
+5 -4
View File
@@ -101,10 +101,11 @@ mod tests {
// Note: The Woman Scientist emoji (πŸ‘©β€πŸ”¬) is a ZWJ sequence combining
// the Woman emoji (πŸ‘©) and the Microscope emoji (πŸ”¬). On supported platforms
// it is displayed as a single emoji and should have a print size of 2 columns,
// but terminal emulators tend to not support this, and display the two emojis
// side by side, thus accounting for a print size of 4 columns.
assert_tab_expansion("foo\tπŸ‘©β€πŸ”¬\tbaz", 6, "foo πŸ‘©β€πŸ”¬ baz");
// it is displayed as a single emoji and has a print size of 2 columns.
// Terminal emulators tend to not support this, and display the two emojis
// side by side, thus accounting for a print size of 4 columns, but the
// unicode_width crate reports a correct size of 2.
assert_tab_expansion("foo\tπŸ‘©β€πŸ”¬\tbaz", 6, "foo πŸ‘©β€πŸ”¬ baz");
}
#[test]