removed all of the git sources (#91)
This commit is contained in:
@@ -1364,9 +1364,7 @@ mod tests {
|
||||
|
||||
use super::*;
|
||||
|
||||
use util_macros::perf;
|
||||
|
||||
#[perf]
|
||||
#[test]
|
||||
fn test_basic_highlight_style_combination() {
|
||||
let style_a = HighlightStyle::default();
|
||||
let style_b = HighlightStyle::default();
|
||||
@@ -1451,7 +1449,7 @@ mod tests {
|
||||
);
|
||||
}
|
||||
|
||||
#[perf]
|
||||
#[test]
|
||||
fn test_combine_highlights() {
|
||||
assert_eq!(
|
||||
combine_highlights(
|
||||
@@ -1540,7 +1538,7 @@ mod tests {
|
||||
);
|
||||
}
|
||||
|
||||
#[perf]
|
||||
#[test]
|
||||
fn test_text_style_refinement() {
|
||||
let mut style = Style::default();
|
||||
style.refine(&StyleRefinement::default().text_size(px(20.0)));
|
||||
|
||||
@@ -1046,7 +1046,7 @@ mod tests {
|
||||
..Default::default()
|
||||
};
|
||||
|
||||
let text = "aa bbb cccc ddddd eeee".into();
|
||||
let text = SharedString::from("aa bbb cccc ddddd eeee");
|
||||
let lines = text_system
|
||||
.shape_text(
|
||||
text,
|
||||
|
||||
Reference in New Issue
Block a user