mirror of
https://github.com/starship/starship.git
synced 2026-06-23 02:05:51 +07:00
Share dir_files between segments through Context (#16)
This commit is contained in:
+2
-2
@@ -5,7 +5,7 @@ use std::path::Path;
|
||||
mod common;
|
||||
|
||||
#[test]
|
||||
fn char_section_success_status() {
|
||||
fn char_segment_success_status() {
|
||||
let dir = Path::new("~");
|
||||
let expected = Segment::new("char")
|
||||
.set_value("➜")
|
||||
@@ -17,7 +17,7 @@ fn char_section_success_status() {
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn char_section_failure_status() {
|
||||
fn char_segment_failure_status() {
|
||||
let dir = Path::new("~");
|
||||
let expected = Segment::new("char")
|
||||
.set_value("➜")
|
||||
|
||||
Reference in New Issue
Block a user