Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature testing setup check #79

Merged
merged 4 commits into from
Oct 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading