Skip to content

Commit 6899b0c

Browse files
committed
fix: broken tests w/ latest hosted-git-info
1 parent 40d07df commit 6899b0c

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

test/normalize.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -181,18 +181,18 @@ tap.test("don't fail when license is just a space", function(t) {
181181

182182
tap.test("gist bugs url", function(t) {
183183
var d = {
184-
repository: "[email protected]:123456.git"
184+
repository: "[email protected]:1234567.git"
185185
}
186186
normalize(d)
187-
t.same(d.repository, { type: 'git', url: 'git+ssh://[email protected]/123456.git' })
188-
t.same(d.bugs, { url: 'https://gist.github.com/123456' })
187+
t.same(d.repository, { type: 'git', url: 'git+ssh://[email protected]/1234567.git' })
188+
t.same(d.bugs, { url: 'https://gist.github.com/1234567' })
189189
t.end();
190190
});
191191

192192
tap.test("singularize repositories", function(t) {
193-
var d = {repositories:["[email protected]:123456.git"]}
193+
var d = {repositories:["[email protected]:1234567.git"]}
194194
normalize(d)
195-
t.same(d.repository, { type: 'git', url: 'git+ssh://[email protected]/123456.git' })
195+
t.same(d.repository, { type: 'git', url: 'git+ssh://[email protected]/1234567.git' })
196196
t.end()
197197
});
198198

@@ -222,9 +222,9 @@ tap.test("homepage field will set to github url if repository is a github repo",
222222
tap.test("homepage field will set to github gist url if repository is a gist", function(t) {
223223
var a
224224
normalize(a={
225-
repository: { type: "git", url: "[email protected]:123456.git" }
225+
repository: { type: "git", url: "[email protected]:1234567.git" }
226226
})
227-
t.same(a.homepage, 'https://gist.github.com/123456')
227+
t.same(a.homepage, 'https://gist.github.com/1234567')
228228
t.end()
229229
})
230230

0 commit comments

Comments
 (0)