Skip to content

Commit

Permalink
Prefer dot syntax in test
Browse files Browse the repository at this point in the history
  • Loading branch information
Yash-Singh1 authored and marijnh committed Dec 29, 2020
1 parent d272885 commit 4d5da83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -1807,8 +1807,8 @@ testCM("atomicMarker", function(cm) {
inclusiveRight: ri
};

if (ls === true || ls === false) options["selectLeft"] = ls;
if (rs === true || rs === false) options["selectRight"] = rs;
if (ls === true || ls === false) options.selectLeft = ls;
if (rs === true || rs === false) options.selectRight = rs;

return cm.markText(Pos(ll, cl), Pos(lr, cr), options);
}
Expand Down

0 comments on commit 4d5da83

Please sign in to comment.