Skip to content

Commit 4f2d0ce

Browse files
committed
fix test to match the changed output for active branches
1 parent 8494a0b commit 4f2d0ce

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

renderer/renderer_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -312,9 +312,9 @@ func TestGetOutputLinesWithActiveBranch(t *testing.T) {
312312

313313
lines := state.GetOutputLines()
314314

315-
// Active branch should have (checked out) indicator
316-
if lines[3] != " [ ] branch2 (checked out)" {
317-
t.Errorf("Expected ' [ ] branch2 (checked out)', got '%s'", lines[3])
315+
// Active branch should have (checked out) indicator and no checkbox
316+
if lines[3] != " branch2 (checked out)" {
317+
t.Errorf("Expected ' branch2 (checked out)', got '%s'", lines[3])
318318
}
319319

320320
// Regular branch should not have indicator

0 commit comments

Comments
 (0)