Skip to content

Commit 2a4e81d

Browse files
committed
Fix tests following addition of shfmt.sh fixture
1 parent 12db671 commit 2a4e81d

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

server/src/__tests__/__snapshots__/server.test.ts.snap

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -909,6 +909,7 @@ exports[`server onRenameRequest Workspace-wide rename returns correct WorkspaceE
909909
"file://__REPO_ROOT_FOLDER__/testing/fixtures/shellcheck/shell-directive.bash": [],
910910
"file://__REPO_ROOT_FOLDER__/testing/fixtures/shellcheck/source.sh": [],
911911
"file://__REPO_ROOT_FOLDER__/testing/fixtures/shellcheck/sourced.sh": [],
912+
"file://__REPO_ROOT_FOLDER__/testing/fixtures/shfmt.sh": [],
912913
"file://__REPO_ROOT_FOLDER__/testing/fixtures/sourcing.sh": [],
913914
"file://__REPO_ROOT_FOLDER__/testing/fixtures/sourcing2.sh": [],
914915
},
@@ -1001,6 +1002,7 @@ exports[`server onRenameRequest Workspace-wide rename returns correct WorkspaceE
10011002
"file://__REPO_ROOT_FOLDER__/testing/fixtures/shellcheck/shell-directive.bash": [],
10021003
"file://__REPO_ROOT_FOLDER__/testing/fixtures/shellcheck/source.sh": [],
10031004
"file://__REPO_ROOT_FOLDER__/testing/fixtures/shellcheck/sourced.sh": [],
1005+
"file://__REPO_ROOT_FOLDER__/testing/fixtures/shfmt.sh": [],
10041006
"file://__REPO_ROOT_FOLDER__/testing/fixtures/sourcing.sh": [],
10051007
"file://__REPO_ROOT_FOLDER__/testing/fixtures/sourcing2.sh": [],
10061008
},

server/src/__tests__/analyzer.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import { Logger } from '../util/logger'
1616
const CURRENT_URI = 'dummy-uri.sh'
1717

1818
// if you add a .sh file to testing/fixtures, update this value
19-
const FIXTURE_FILES_MATCHING_GLOB = 18
19+
const FIXTURE_FILES_MATCHING_GLOB = 19
2020

2121
const defaultConfig = getDefaultConfiguration()
2222

0 commit comments

Comments
 (0)