Skip to content

Commit

Permalink
feat: added one more test for llvm-cov
Browse files Browse the repository at this point in the history
  • Loading branch information
uttarayan21 committed Jun 24, 2024
1 parent cca0842 commit 8d9f7bd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

stableToolchain = pkgs.rust-bin.stable.latest.default;
stableToolchainWithRustAnalyzer = pkgs.rust-bin.stable.latest.default.override {
extensions = ["rust-src" "rust-analyzer"];
extensions = ["rust-src" "rust-analyzer" "llvm-tools"];
# Extra targets if required
# targets = [
# "x86_64-unknown-linux-gnu"
Expand Down Expand Up @@ -100,6 +100,7 @@
cargo-nextest
cargo-criterion
cargo-outdated
cargo-llvm-cov
];
});
}
Expand Down
2 changes: 2 additions & 0 deletions src/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,8 @@ fn color_test() {
assert_eq!(c.1, Color::Rgb(255, 255, 255));
let c = color(b"5;255").unwrap();
assert_eq!(c.1, Color::Indexed(255));
let err = color(b"10;255");
assert_ne!(err, Ok(c));
}

#[test]
Expand Down

0 comments on commit 8d9f7bd

Please sign in to comment.