Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb266b8d

Browse files
committed
Fix the test adding the correct html generated by the markdown
1 parent375863e commitb266b8d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

‎test/markdown.spec.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ describe('Markdown', function() {
3737
};
3838
markdown.render(options)
3939
.then(function({data:html}){
40-
expect(html).to.be('<p>Hello world <a href="https://github.com/github/linguist/issues/1" data-url="https://github.com/github/linguist/issues/1" data-id="1012654" data-error-text="Failed to load issue title" data-permission-text="Issue title is private">github/linguist#1</a> <strong>cool</strong>, and <a href="https://github.com/gollum/gollum/issues/1" data-url="https://github.com/gollum/gollum/issues/1" data-id="183433" data-error-text="Failed to load issue title" data-permission-text="Issue title is private">#1</a>!</p>');// eslint-disable-line
40+
expect(html).to.be('<p>Hello world <a href="https://github.com/github/linguist/issues/1" data-error-text="Failed to load issue title" data-id="1012654" data-permission-text="Issue title is private" data-url="https://github.com/github/linguist/issues/1">github/linguist#1</a> <strong>cool</strong>, and <a href="https://github.com/gollum/gollum/issues/1" data-error-text="Failed to load issue title" data-id="183433" data-permission-text="Issue title is private" data-url="https://github.com/gollum/gollum/issues/1">#1</a>!</p>');// eslint-disable-line
4141
done();
4242
}).catch(done);
4343
});

‎test/repository.spec.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ describe('Repository', function() {
460460

461461
it('should list tags on repo',function(done){
462462
constoptions={
463-
per_page:30
463+
per_page:30//eslint-disable-line
464464
};
465465

466466
remoteRepo.listTags(options,assertSuccessful(done));
@@ -634,7 +634,7 @@ describe('Repository', function() {
634634

635635
it('should read all releases',function(done){
636636
constpaginationOptions={
637-
per_page:30
637+
per_page:30//eslint-disable-line
638638
};
639639

640640
remoteRepo.listReleases(paginationOptions,assertSuccessful(done,function(err,releases){

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp