diff options
author | Damien Cassou <damien@cassou.me> | 2020-06-29 07:18:32 +0200 |
---|---|---|
committer | Robert Helgesson <robert@rycee.net> | 2020-06-29 10:21:17 +0200 |
commit | 7f7348b47049e8d25fb5b98db1d6215f8f643f0d (patch) | |
tree | 6f917a7c2d2ff821b1b2a0d8e18d45f2e76eab8f /tests/modules | |
parent | 58716b7541858c4a6b0348b824c9c8ef35185c63 (diff) |
powerline-go: fix argument to -error option
Addition of the line "local old_exit_status=$?" broke the call to
powerline-go.
PR #1364
Diffstat (limited to 'tests/modules')
-rw-r--r-- | tests/modules/programs/powerline-go/standard.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/modules/programs/powerline-go/standard.nix b/tests/modules/programs/powerline-go/standard.nix index 9788ce7db3a..b01fcb1a75d 100644 --- a/tests/modules/programs/powerline-go/standard.nix +++ b/tests/modules/programs/powerline-go/standard.nix @@ -22,7 +22,7 @@ with lib; assertFileExists home-files/.bashrc assertFileContains \ home-files/.bashrc \ - '/bin/powerline-go -error $? -modules nix-shell -newline -path-aliases \~/project/foo=prj-foo -ignore-repos /home/me/project1,/home/me/project2' + '/bin/powerline-go -error $old_exit_status -modules nix-shell -newline -path-aliases \~/project/foo=prj-foo -ignore-repos /home/me/project1,/home/me/project2' ''; }; } |