Skip to content

Commit 4c15092

Browse files
committed
fix: fixing test failure
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: na - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: na - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: passed - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent 4a9205b commit 4c15092

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

lib/node_modules/@stdlib/repl/test/integration/test.auto_close_pairs.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,8 @@ function defaultSettings() {
146146
'autoPage': false,
147147
'completionPreviews': false,
148148
'syntaxHighlighting': false,
149-
'eagerEvaluation' : false
149+
'eagerEvaluation': false
150+
150151
};
151152
}
152153

@@ -195,12 +196,12 @@ function assertAutoClose( t, fixture, done ) {
195196

196197
// Create an incomplete expression:
197198
s = splice( fixture.expression, fixture.cursor );
199+
198200
// Construct the expected output:
199201
expected = spliced2expected( s );
200202

201203
// Emulate the presence of an existing expression:
202204
istream.write( s[ 0 ] );
203-
console.log(`here is the s ${s} and here is the expected ${expected}`)
204205

205206
// Move the cursor to where we want to insert a character to trigger auto-close:
206207
N = s[ 0 ].length - fixture.cursor;

lib/node_modules/@stdlib/repl/test/integration/test.completer_engine.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ function defaultSettings() {
4848
'autoDisableBracketedPasteOnExit': false,
4949
'completionPreviews': false,
5050
'syntaxHighlighting': false,
51+
'eagerEvaluation': false,
5152
'autoPage': false
5253
};
5354
}

lib/node_modules/@stdlib/repl/test/integration/test.completion_previews.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ tape( 'a REPL instance supports displaying a completion preview of user-defined
4747
'settings': {
4848
'autoPage': false,
4949
'syntaxHighlighting': false,
50+
'eagerEvaluation': false,
5051
'autoDisableBracketedPasteOnExit': false
5152
}
5253
};
@@ -92,6 +93,7 @@ tape( 'a REPL instance supports displaying a completion preview for common prefi
9293
'settings': {
9394
'autoPage': false,
9495
'syntaxHighlighting': false,
96+
'eagerEvaluation': false,
9597
'autoDisableBracketedPasteOnExit': false
9698
}
9799
};
@@ -138,6 +140,7 @@ tape( 'a REPL instance supports displaying a completion preview for recognized i
138140
'settings': {
139141
'autoPage': false,
140142
'syntaxHighlighting': false,
143+
'eagerEvaluation': false,
141144
'autoDisableBracketedPasteOnExit': false
142145
}
143146
};
@@ -183,6 +186,7 @@ tape( 'a REPL instance supports displaying a completion preview when a cursor is
183186
'settings': {
184187
'autoPage': false,
185188
'syntaxHighlighting': false,
189+
'eagerEvaluation': false,
186190
'autoDisableBracketedPasteOnExit': false
187191
}
188192
};
@@ -237,6 +241,7 @@ tape( 'a REPL instance supports auto-completing a completion candidate by moving
237241
'settings': {
238242
'autoPage': false,
239243
'syntaxHighlighting': false,
244+
'eagerEvaluation': false,
240245
'autoDisableBracketedPasteOnExit': false
241246
}
242247
};
@@ -290,6 +295,7 @@ tape( 'a REPL instance supports auto-completing a completion preview and executi
290295
'settings': {
291296
'autoPage': false,
292297
'syntaxHighlighting': false,
298+
'eagerEvaluation': false,
293299
'autoDisableBracketedPasteOnExit': false
294300
}
295301
};
@@ -344,6 +350,7 @@ tape( 'a REPL instance does not display a completion preview when no completion
344350
'settings': {
345351
'autoPage': false,
346352
'syntaxHighlighting': false,
353+
'eagerEvaluation': false,
347354
'autoDisableBracketedPasteOnExit': false
348355
}
349356
};
@@ -403,6 +410,7 @@ tape( 'a REPL instance does not display a completion preview once a user enters
403410
'settings': {
404411
'autoPage': false,
405412
'syntaxHighlighting': false,
413+
'eagerEvaluation': false,
406414
'autoDisableBracketedPasteOnExit': false
407415
}
408416
};

0 commit comments

Comments
 (0)