MCPcopy Index your code
hub / github.com/apocas/dockerode / validate

Function validate

test/util.js:12–16  ·  view source on GitHub ↗
(input, expected)

Source from the content-addressed store, hash-verified

10
11 describe('#parseRepositoryTag', function () {
12 function validate(input, expected) {
13 it('should parse "' + input + '"', function () {
14 expect(util.parseRepositoryTag(input)).to.eql(expected);
15 });
16 }
17
18 // test params taken from:
19 // https://github.com/dotcloud/docker/blob/c23b15b9d84ed7d9421d8946c4e0a309e12cecf3/utils/utils_test.go#L333

Callers 1

util.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…