Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 0977049

Browse files
committed
Refactor and fix comments
1 parent 5c13080 commit 0977049

File tree

4 files changed

+306
-218
lines changed

4 files changed

+306
-218
lines changed

‎server/src/__tests__/server.test.ts‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1747,12 +1747,12 @@ describe('server', () => {
17471747

17481748
it('includes incorrect number of symbols for complex scopes and nesting', async () => {
17491749
const varRanges = await getFirstChangeRanges(getRenameRequestResult(118, 8))
1750-
// This should only be 2 if $var from 3 is not included.
1750+
// This should only be 2 if `$var` from `3` is not included.
17511751
expect(varRanges.length).toBe(3)
17521752

17531753
const localFuncRanges = await getFirstChangeRanges(getRenameRequestResult(138, 5))
1754-
// This should be 2 if the instance of localFunc in callerFunc is also
1755-
// included.
1754+
// This should be 2 if the instance of `localFunc` in `callerFunc` is
1755+
// also included.
17561756
expect(localFuncRanges.length).toBe(1)
17571757
})
17581758

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /