mirror of
https://github.com/starship/starship.git
synced 2026-06-24 02:01:36 +07:00
build(deps): update crate-ci/typos action to v1.38.1 (#7006)
This commit is contained in:
@@ -7,4 +7,4 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5
|
- uses: actions/checkout@v5
|
||||||
- uses: crate-ci/typos@v1.36.2
|
- uses: crate-ci/typos@v1.38.1
|
||||||
|
|||||||
@@ -652,7 +652,7 @@ mod tests {
|
|||||||
let styled_no_modifier_style = Some(Color::Green.normal());
|
let styled_no_modifier_style = Some(Color::Green.normal());
|
||||||
|
|
||||||
let mut segments: Vec<Segment> = Vec::new();
|
let mut segments: Vec<Segment> = Vec::new();
|
||||||
segments.extend(Segment::from_text(None, "styless"));
|
segments.extend(Segment::from_text(None, "styleless"));
|
||||||
segments.extend(Segment::from_text(styled_style.map(Into::into), "styled"));
|
segments.extend(Segment::from_text(styled_style.map(Into::into), "styled"));
|
||||||
segments.extend(Segment::from_text(
|
segments.extend(Segment::from_text(
|
||||||
styled_no_modifier_style.map(Into::into),
|
styled_no_modifier_style.map(Into::into),
|
||||||
@@ -667,7 +667,7 @@ mod tests {
|
|||||||
});
|
});
|
||||||
let result = formatter.parse(None, None).unwrap();
|
let result = formatter.parse(None, None).unwrap();
|
||||||
let mut result_iter = result.iter();
|
let mut result_iter = result.iter();
|
||||||
match_next!(result_iter, "styless", var_style);
|
match_next!(result_iter, "styleless", var_style);
|
||||||
match_next!(result_iter, "styled", styled_style);
|
match_next!(result_iter, "styled", styled_style);
|
||||||
match_next!(result_iter, "styled_no_modifier", styled_no_modifier_style);
|
match_next!(result_iter, "styled_no_modifier", styled_no_modifier_style);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user