Skip to content

Commit

Permalink
Merge pull request #79 from lordofwizard/feature-testing-setup-check
Browse files Browse the repository at this point in the history
Feature testing setup check
  • Loading branch information
lordofwizard authored Oct 16, 2024
2 parents 4045de3 + df527b1 commit afb205a
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/default-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ jobs:
# sudo apt-get install -y libsqlite3-dev # Add any necessary system dependencies here
- name: Run Cargo Test
run: cargo test
run: cargo test --quiet

18 changes: 9 additions & 9 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
config = "0.14.0"
confy = "0.6.1"
serde = "1.0.197"
serde_toml = "0.0.1"
serde_json = "*"
toml = "0.8.12"
reqwest = { version = "0.12.4", features = ["blocking", "json"] }
clap = { version = "4.5.7", features = ["derive"]}
colored = "*"
#config = "0.14.0"
#confy = "0.6.1"
#serde = "1.0.197"
#serde_toml = "0.0.1"
#serde_json = "*"
#toml = "0.8.12"
#reqwest = { version = "0.12.4", features = ["blocking", "json"] }
#clap = { version = "4.5.7", features = ["derive"]}
#colored = "*"
3 changes: 2 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@ fn main() {

fn add(a: i32, b: i32) -> i32 {
a + b


}

#[cfg(test)]
mod tests {
use super::*;

#[test]
fn test_add() {
assert_eq!(add(2, 3), 5);
Expand Down

0 comments on commit afb205a

Please sign in to comment.