MCPcopy Create free account
hub / github.com/amber-lang/amber / test_cli_bash_32_array_ref_runtime

Function test_cli_bash_32_array_ref_runtime

src/tests/cli.rs:471–482  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

469#[test]
470fn 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]
484fn test_cli_bash_32_swap_ref_runtime() {
485 let mut cmd = Command::new(amber_bin());

Callers

nothing calls this directly

Calls 1

amber_binFunction · 0.85

Tested by

no test coverage detected