File tree 1 file changed +2
-20
lines changed
1 file changed +2
-20
lines changed Original file line number Diff line number Diff line change @@ -580,26 +580,8 @@ func TestAPI(t *testing.T) {
580
580
if err := batch .Execute (); err != nil {
581
581
t .Fatal (err )
582
582
}
583
- if numberOpt {
584
- t .Fatal ("style is minimal; expected the number window option to disabled" )
585
- }
586
- if relativenumberOpt {
587
- t .Fatal ("style is minimal; expected the relativenumber window option to disabled" )
588
- }
589
- if cursorlineOpt {
590
- t .Fatal ("style is minimal; expected the cursorline window option to disabled" )
591
- }
592
- if cursorcolumnOpt {
593
- t .Fatal ("style is minimal; expected the cursorcolumn window option to disabled" )
594
- }
595
- if spellOpt {
596
- t .Fatal ("style is minimal; expected the spell window option to disabled" )
597
- }
598
- if listOpt {
599
- t .Fatal ("style is minimal; expected the list window option to disabled" )
600
- }
601
- if signcolumnOpt != "auto" {
602
- t .Fatalf ("style is minimal; got %q but expected the signcolumn window option to \" auto\" " , signcolumnOpt )
583
+ if numberOpt || relativenumberOpt || cursorlineOpt || cursorcolumnOpt || spellOpt || listOpt || signcolumnOpt != "auto" {
584
+ t .Fatal ("expected minimal style" )
603
585
}
604
586
})
605
587
}
You can’t perform that action at this time.
0 commit comments