Skip to content

Commit 4699a72

Browse files
authored
Bump test dependencies and fix tests (#47)
1 parent 951866a commit 4699a72

File tree

4 files changed

+10
-8
lines changed

4 files changed

+10
-8
lines changed

.github/workflows/test-suite.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ on:
77
branches:
88
- main
99
env:
10-
NU_VERSION: 0.100.0
11-
BASH_ENV_JSON_VERSION: 0.7.0
10+
NU_VERSION: 0.102.0
11+
BASH_ENV_JSON_VERSION: 0.10.1
1212

1313
jobs:
1414
test:

extra-module-tests.nu

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ def test_shell_variables [] {
1212

1313
#[test]
1414
def test_shell_variables_from_file [] {
15-
let actual = bash-env -s tests/shell-variables.env
15+
let actual = bash-env -s tests/shell-variables.env | reject meta
1616
let expected = { shellvars: { A: "not exported" } env: { B: "exported" } }
1717
assert equal $actual $expected
1818
}
1919

2020
#[test]
2121
def test_shell_functions [] {
22-
let actual = bash-env -f [f2 f3] tests/shell-functions.env
22+
let actual = bash-env -f [f2 f3] tests/shell-functions.env | reject meta
2323
let expected = {
2424
"env": {
2525
"B": "1",

flake.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,15 @@
4747
inherit (pkgs)
4848
mkShell
4949
bashInteractive
50-
jq;
50+
jq
51+
nushell;
5152
in
5253

5354
mkShell {
5455
nativeBuildInputs = [
5556
bashInteractive
5657
jq
58+
nushell
5759
];
5860
};
5961

0 commit comments

Comments
 (0)