Skip to content

Commit

Permalink
Support for Nu 0.96
Browse files Browse the repository at this point in the history
  • Loading branch information
tesujimath committed Aug 4, 2024
1 parent 11ebdf6 commit ccb0b16
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ repository = "https://github.com/tesujimath/nu_plugin_bash_env"
readme = "README.md"

[dependencies]
nu-plugin = "0.95.0"
nu-protocol = "0.95.0"
nu-plugin = "0.96.1"
nu-protocol = "0.96.1"
2 changes: 1 addition & 1 deletion nu_plugin_bash_env
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# SOFTWARE.

VERSION="0.11.0"
PROTOCOL_VERSION="0.95.0"
PROTOCOL_VERSION="0.96.1"

shopt -s extglob

Expand Down
4 changes: 2 additions & 2 deletions tests.nu
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,15 @@ def test_simple_file [] {

#[test]
def test_cat_simple_file [] {
let actual = cat tests/simple.env | bash-env
let actual = cat tests/simple.env | bash-env
let expected = { A: "a" B: "b" }
assert equal $actual $expected
}

#[test]
def test_nasty_values_from_file [] {
let actual = bash-env "tests/Ming's menu of (merciless) monstrosities.env"
let expected = {
let expected = {
SPACEMAN: "One small step for a man ..."
QUOTE: "\"Well done!\" is better than \"Well said!\""
MIXED_BAG: "Did the sixth sheik's sixth sheep say \"baa\", or not?"
Expand Down

0 comments on commit ccb0b16

Please sign in to comment.