()
| 469 | #[test] |
| 470 | fn test_cli_bash_32_array_ref_runtime() { |
| 471 | let mut cmd = Command::new(amber_bin()); |
| 472 | cmd.env("AMBER_SHELL", "/bin/bash") |
| 473 | .args([ |
| 474 | "src/tests/validity/array_assign_by_ref.ab", |
| 475 | "--target", |
| 476 | "bash-3.2", |
| 477 | ]) |
| 478 | .assert() |
| 479 | .success() |
| 480 | .stdout(predicate::str::contains("1 2 42 4 5\n1 2 42 4 5")); |
| 481 | } |
| 482 | |
| 483 | #[test] |
| 484 | fn test_cli_bash_32_swap_ref_runtime() { |
| 485 | let mut cmd = Command::new(amber_bin()); |
nothing calls this directly
no test coverage detected