1 2 3 4 5 6 7 8 9 10 11 12
use nu_test_support::prelude::*; #[test] fn adds_a_row_to_the_end() -> Result { let code = r#" echo [ "Andrés N. Robalino", "JT Turner", "Yehuda Katz" ] | append "pollo loco" | get 3 "#; test().run(code).expect_value_eq("pollo loco") }