• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

getdozer / dozer / 5999583811

28 Aug 2023 12:06PM UTC coverage: 78.124% (+0.04%) from 78.087%
5999583811

push

github

web-flow
chore: Create unit tests workflow (#1910)

* chore: Update for Rust 1.72.0

Rust 1.72.0 has introduced a bunch of new lints. Here we fix them all.

`let ... else` finally gets formatted.

* chire: Create unit tests workflow

* Rename and remove useless steps

* remove env vars

* Add concurrency group

* Test unit workflow on 4 cores

---------

Co-authored-by: chubei <914745487@qq.com>

49078 of 62821 relevant lines covered (78.12%)

49191.47 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/dozer-cli/src/console_helper.rs
1
pub fn get_colored_text(text: &str, color_code: &str) -> String {
×
2
    let mut result = String::from("\u{1b}[");
×
3
    result.push_str(color_code);
×
4
    result.push_str(";1m"); // End token.
×
5
    result.push_str(text);
×
6
    result.push_str("\u{1b}[0m");
×
7
    result
×
8
}
×
9

10
pub const RED: &str = "31";
11
pub const GREEN: &str = "32";
12
pub const PURPLE: &str = "35";
13
pub const YELLOW: &str = "136";
14
pub const GREY: &str = "250";
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc