Skip to content

Commit

Permalink
Added tests for lowercase shell vars
Browse files Browse the repository at this point in the history
  • Loading branch information
prsabahrami committed Oct 9, 2024
1 parent 70ca3b1 commit fc67255
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions crates/tests/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,12 @@ async fn commands() {
.assert_stdout("3\n2\n")
.run()
.await;

TestBuilder::new()
.command("a=1 && echo $a")
.assert_stdout("1\n")
.run()
.await;
}

#[tokio::test]
Expand Down

0 comments on commit fc67255

Please sign in to comment.