Skip to content

Commit 5084418

Browse files
committed
fixup! test: Create vscode_package_test.rb
1 parent 6c6e632 commit 5084418

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/serverkit/resources/vscode_package_test.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def test_apply
2222
assert_equal("code --install-extension test-package", @resource.apply)
2323
end
2424
@resource_with_version.stub :run_command, ->(cmd) { cmd } do
25-
assert_equal("code --install-extension test-package@1.2.3", resource_with_version.apply)
25+
assert_equal("code --install-extension test-package@1.2.3", @resource_with_version.apply)
2626
end
2727
end
2828

@@ -31,7 +31,7 @@ def test_check
3131
assert_equal("code --list-extensions --show-versions | grep -E '^test-package@'", @resource.check)
3232
end
3333
@resource_with_version.stub :check_command, ->(cmd) { cmd } do
34-
assert_equal("code --list-extensions --show-versions | grep -E '^test-package@1.2.3$'", resource_with_version.check)
34+
assert_equal("code --list-extensions --show-versions | grep -E '^test-package@1.2.3$'", @resource_with_version.check)
3535
end
3636
end
3737
end

0 commit comments

Comments
 (0)