Skip to content

Commit ac323bc

Browse files
authored
Merge pull request #167 from rstudio/no-minimap-test-adjust
Adjust unit tests for positron default of disabled minimap
2 parents beac20a + 4d571d3 commit ac323bc

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

src/vs/editor/test/browser/config/editorConfiguration.test.ts

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,14 +90,18 @@ suite('Common Editor Config', () => {
9090
const config = new TestWrappingConfiguration({
9191
wordWrap: <any>true
9292
});
93-
assertWrapping(config, true, 80);
93+
// --- Start Positron ---
94+
assertWrapping(config, true, 88);
95+
// --- End Positron ---
9496
});
9597

9698
test('wordWrap on', () => {
9799
const config = new TestWrappingConfiguration({
98100
wordWrap: 'on'
99101
});
100-
assertWrapping(config, true, 80);
102+
// --- Start Positron ---
103+
assertWrapping(config, true, 88);
104+
// --- End Positron ---
101105
});
102106

103107
test('wordWrap on without minimap', () => {
@@ -115,7 +119,9 @@ suite('Common Editor Config', () => {
115119
wordWrap: 'on',
116120
wordWrapColumn: 10
117121
});
118-
assertWrapping(config, true, 80);
122+
// --- Start Positron ---
123+
assertWrapping(config, true, 88);
124+
// --- End Positron ---
119125
});
120126

121127
test('wordWrap off', () => {

0 commit comments

Comments
 (0)