File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 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):
2323    result  =  run_command ("lib list" )
2424    assert  result .ok 
2525    assert  ""  ==  result .stderr 
26-     assert  ""  ==  result .stdout 
26+     assert  "No libraries installed. "  ==  result .stdout . strip () 
2727    result  =  run_command ("lib list --format json" )
2828    assert  result .ok 
2929    assert  ""  ==  result .stderr 
30-     assert  ""  ==  result .stdout 
30+     assert  "null "  ==  result .stdout 
3131
3232    # Install something we can list at a version older than latest 
3333    result  =  run_command (
"lib install [email protected] " )
 @@ -83,7 +83,7 @@ def test_search(run_command):
8383
8484    result  =  run_command ("lib search --names" )
8585    assert  result .ok 
86-     out_lines  =  result .stdout .splitlines ()
86+     out_lines  =  result .stdout .strip (). splitlines ()
8787    # Create an array with just the name of the vars 
8888    libs  =  []
8989    for  line  in  out_lines :
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments