Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'test/tap/semver-tag.js')
-rw-r--r--test/tap/semver-tag.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/tap/semver-tag.js b/test/tap/semver-tag.js
index 03dcdf85b..b4feb7517 100644
--- a/test/tap/semver-tag.js
+++ b/test/tap/semver-tag.js
@@ -1,11 +1,11 @@
// should not allow tagging with a valid semver range
-var common = require("../common-tap.js")
-var test = require("tap").test
+var common = require('../common-tap.js')
+var test = require('tap').test
-test("try to tag with semver range as tag name", function (t) {
- var cmd = ["tag", "zzzz@1.2.3", "v2.x", "--registry=http://localhost"]
+test('try to tag with semver range as tag name', function (t) {
+ var cmd = ['tag', 'zzzz@1.2.3', 'v2.x', '--registry=http://localhost']
common.npm(cmd, {
- stdio: "pipe"
+ stdio: 'pipe'
}, function (er, code, so, se) {
if (er) throw er
t.similar(se, /Tag name must not be a valid SemVer range: v2.x\n/)