Skip to content

Commit 588a9aa

Browse files
committed
nvim: add colorcolumn testcase to floating_window test
1 parent d0865ef commit 588a9aa

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

nvim/nvim_test.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -569,6 +569,7 @@ func TestAPI(t *testing.T) {
569569
spellOpt bool
570570
listOpt bool
571571
signcolumnOpt string
572+
colorcolumnOpt string
572573
)
573574
batch.WindowOption(w, "number", &numberOpt)
574575
batch.WindowOption(w, "relativenumber", &relativenumberOpt)
@@ -577,10 +578,11 @@ func TestAPI(t *testing.T) {
577578
batch.WindowOption(w, "spell", &spellOpt)
578579
batch.WindowOption(w, "list", &listOpt)
579580
batch.WindowOption(w, "signcolumn", &signcolumnOpt)
581+
batch.WindowOption(w, "colorcolumn", &colorcolumnOpt)
580582
if err := batch.Execute(); err != nil {
581583
t.Fatal(err)
582584
}
583-
if numberOpt || relativenumberOpt || cursorlineOpt || cursorcolumnOpt || spellOpt || listOpt || signcolumnOpt != "auto" {
585+
if numberOpt || relativenumberOpt || cursorlineOpt || cursorcolumnOpt || spellOpt || listOpt || signcolumnOpt != "auto" || colorcolumnOpt != "" {
584586
t.Fatal("expected minimal style")
585587
}
586588
})

0 commit comments

Comments
 (0)