Skip to content

Commit 1076d42

Browse files
committed
fix test
1 parent 516dba5 commit 1076d42

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test_commit.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ def test_add(git2cpp_path, all_flag):
2222
subprocess.run(cmd_commit, capture_output=True, text=True)
2323

2424
cmd_status_2 = [git2cpp_path, 'status', "--long"]
25-
subprocess.run(cmd_status_2, capture_output=True, text=True)
25+
p_status_2 = subprocess.run(cmd_status_2, capture_output=True, text=True)
2626

27-
assert "mook_file" not in p_status.stdout
27+
assert "mook_file" not in p_status_2.stdout
2828

2929
cmd_reset = [git2cpp_path, 'reset', "--hard", "HEAD~1"]
3030
subprocess.run(cmd_reset, capture_output=True, text=True)

0 commit comments

Comments
 (0)