mirror of
https://github.com/nushell/nushell.git
synced 2025-08-10 08:28:43 +02:00
Remove Span::unknown (#525)
This commit is contained in:
@ -309,7 +309,7 @@ mod tests {
|
||||
Some(fg_end),
|
||||
None,
|
||||
None,
|
||||
&Span::unknown(),
|
||||
&Span::test_data(),
|
||||
);
|
||||
assert_eq!(actual, expected);
|
||||
}
|
||||
|
@ -117,7 +117,7 @@ mod tests {
|
||||
Value::test_string("\u{1b}[3;93;41mHello\u{1b}[0m \u{1b}[1;32mNu \u{1b}[1;35mWorld");
|
||||
let expected = Value::test_string("Hello Nu World");
|
||||
|
||||
let actual = action(&input_string, &Span::unknown());
|
||||
let actual = action(&input_string, &Span::test_data());
|
||||
assert_eq!(actual, expected);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user