mirror of
https://github.com/nushell/nushell.git
synced 2025-08-10 07:48:19 +02:00
Rust 1.85, edition=2024 (#15741)
This commit is contained in:
@ -50,9 +50,11 @@ fn config_add_unsupported_key() {
|
||||
r#"$env.config.foo = 2"#,
|
||||
r#";"#]));
|
||||
|
||||
assert!(actual
|
||||
.err
|
||||
.contains("Unknown config option: $env.config.foo"));
|
||||
assert!(
|
||||
actual
|
||||
.err
|
||||
.contains("Unknown config option: $env.config.foo")
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
@ -1,4 +1,4 @@
|
||||
use nu_protocol::{ast::RangeInclusion, ByteStream, IntRange, Signals, Span, Value};
|
||||
use nu_protocol::{ByteStream, IntRange, Signals, Span, Value, ast::RangeInclusion};
|
||||
|
||||
#[test]
|
||||
pub fn test_simple_positive_slice_exclusive() {
|
||||
|
@ -1,6 +1,6 @@
|
||||
use nu_protocol::{
|
||||
engine::{EngineState, Stack},
|
||||
Config, Span, Value,
|
||||
engine::{EngineState, Stack},
|
||||
};
|
||||
use rstest::rstest;
|
||||
|
||||
|
Reference in New Issue
Block a user