Skip to content

Commit

Permalink
Merge pull request #28 from antifuchs/fix-circle-badges
Browse files Browse the repository at this point in the history
Fix circleci badge link
  • Loading branch information
webern authored Nov 6, 2023
2 parents 708e03a + 3ca46c1 commit 95cfc06
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/config/badges.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ pub fn circle_ci(attrs: Attrs) -> String {

format!(
"[![Build Status](https://circleci.com/{service}/{repo}/tree/{branch}.svg?style=shield)]\
(https://circleci.com/{service}/{repo}/cargo-readme/tree/{branch})",
(https://circleci.com/{service}/{repo}/tree/{branch})",
repo = repo,
service = service,
branch = percent_encode(branch)
Expand Down
2 changes: 1 addition & 1 deletion tests/badges.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use assert_cli::Assert;

const EXPECTED: &str = r#"
[![Build Status](https://ci.appveyor.com/api/projects/status/github/cargo-readme/test?branch=master&svg=true)](https://ci.appveyor.com/project/cargo-readme/test/branch/master)
[![Build Status](https://circleci.com/gh/cargo-readme/test/tree/master.svg?style=shield)](https://circleci.com/gh/cargo-readme/test/cargo-readme/tree/master)
[![Build Status](https://circleci.com/gh/cargo-readme/test/tree/master.svg?style=shield)](https://circleci.com/gh/cargo-readme/test/tree/master)
[![Build Status](https://gitlab.com/cargo-readme/test/badges/master/pipeline.svg)](https://gitlab.com/cargo-readme/test/commits/master)
[![Build Status](https://travis-ci.org/cargo-readme/test.svg?branch=master)](https://travis-ci.org/cargo-readme/test)
[![Coverage Status](https://codecov.io/gh/cargo-readme/test/branch/master/graph/badge.svg)](https://codecov.io/gh/cargo-readme/test)
Expand Down

0 comments on commit 95cfc06

Please sign in to comment.