@@ -12,17 +12,17 @@ def rename_git():
1212def test_branch_list (rename_git , git2cpp_path ):
1313 cmd = [git2cpp_path , 'branch' ]
1414 p = subprocess .run (cmd , capture_output = True , cwd = "test/data/status_data" , text = True )
15- assert (p .stdout == 'main\n ' )
15+ assert (p .stdout == '* main\n ' )
1616
1717def test_branch_create_delete (rename_git , git2cpp_path ):
1818 create_cmd = [git2cpp_path , 'branch' , 'foregone' ]
1919 subprocess .run (create_cmd , capture_output = True , cwd = "test/data/status_data" , text = True )
2020 list_cmd = [git2cpp_path , 'branch' ]
2121 p = subprocess .run (list_cmd , capture_output = True , cwd = "test/data/status_data" , text = True )
22- assert (p .stdout == 'foregone \n main \n ' )
22+ assert (p .stdout == '* main \n foregone \n ' )
2323 del_cmd = [git2cpp_path , 'branch' , '-d' , 'foregone' ]
2424 subprocess .run (del_cmd , capture_output = True , cwd = "test/data/status_data" , text = True )
2525 p2 = subprocess .run (list_cmd , capture_output = True , cwd = "test/data/status_data" , text = True )
26- assert (p2 .stdout == 'main\n ' )
26+ assert (p2 .stdout == '* main\n ' )
2727
2828
0 commit comments