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

Function test_cli_bash_32_nested_ref_runtime

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

Source from the content-addressed store, hash-verified

497#[test]
498fn test_cli_bash_32_nested_ref_runtime() {
499 let mut cmd = Command::new(amber_bin());
500 cmd.env("AMBER_SHELL", "/bin/bash")
501 .args([
502 "src/tests/validity/variable_ref_nested.ab",
503 "--target",
504 "bash-3.2",
505 ])
506 .assert()
507 .success()
508 .stdout(predicate::str::contains("John\n1\n2\n3"));
509}

Callers

nothing calls this directly

Calls 1

amber_binFunction · 0.85

Tested by

no test coverage detected