mirror of
https://github.com/nushell/nushell.git
synced 2025-08-10 00:57:49 +02:00
Add general refactorings (#3996)
This commit is contained in:
@ -17,7 +17,7 @@ mod integration {
|
||||
.create(),
|
||||
)
|
||||
.setup(|plugin, returned_values| {
|
||||
let actual = format!("{}", returned_values.unwrap_err());
|
||||
let actual = returned_values.unwrap_err().to_string();
|
||||
|
||||
assert!(actual.contains("can only apply one"));
|
||||
assert_eq!(plugin.error, Some("can only apply one".to_string()));
|
||||
|
Reference in New Issue
Block a user