File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -23,11 +23,11 @@ def test_list(run_command):
23
23
result = run_command ("lib list" )
24
24
assert result .ok
25
25
assert "" == result .stderr
26
- assert "" == result .stdout
26
+ assert "No libraries installed. " == result .stdout . strip ()
27
27
result = run_command ("lib list --format json" )
28
28
assert result .ok
29
29
assert "" == result .stderr
30
- assert "" == result .stdout
30
+ assert "null " == result .stdout
31
31
32
32
# Install something we can list at a version older than latest
33
33
result = run_command (
"lib install [email protected] " )
@@ -83,7 +83,7 @@ def test_search(run_command):
83
83
84
84
result = run_command ("lib search --names" )
85
85
assert result .ok
86
- out_lines = result .stdout .splitlines ()
86
+ out_lines = result .stdout .strip (). splitlines ()
87
87
# Create an array with just the name of the vars
88
88
libs = []
89
89
for line in out_lines :
You can’t perform that action at this time.
0 commit comments