Skip to content

Commit

Permalink
Fix #39 Test another scenario from vscode-docker
Browse files Browse the repository at this point in the history
Another bug in the Microsoft/vscode-docker repository was opened
about this problem.

microsoft/vscode-docker#280

Signed-off-by: Remy Suen <[email protected]>
  • Loading branch information
Remy Suen committed Jun 21, 2018
1 parent 4975fe3 commit 7f13895
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/dockerValidator.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2663,6 +2663,9 @@ describe("Docker Validator Tests", function() {
diagnostics = validateDockerfile("FROM node@sha256:613685c22f65d01f2264bdd49b8a336488e14faf29f3ff9b6bf76a4da23c4700");
assert.equal(diagnostics.length, 0);

diagnostics = validateDockerfile("FROM repository.mycompany:5000/tomcat:8.0");
assert.equal(diagnostics.length, 0);

diagnostics = validateDockerfile("FROM privateregistry.com/image:tag");
assert.equal(diagnostics.length, 0);

Expand Down

0 comments on commit 7f13895

Please sign in to comment.