mirror of
https://github.com/nushell/nushell.git
synced 2025-08-14 02:28:35 +02:00
Rust 1.85, edition=2024 (#15741)
This commit is contained in:
@ -5,9 +5,11 @@ use rstest::rstest;
|
||||
#[case("let in = 3")]
|
||||
#[case("let in: int = 3")]
|
||||
fn let_name_builtin_var(#[case] assignment: &str) {
|
||||
assert!(nu!(assignment)
|
||||
.err
|
||||
.contains("'in' is the name of a builtin Nushell variable"));
|
||||
assert!(
|
||||
nu!(assignment)
|
||||
.err
|
||||
.contains("'in' is the name of a builtin Nushell variable")
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
Reference in New Issue
Block a user