Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Shella committed Sep 10, 2024
1 parent 7be6ec8 commit 516cece
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/observatory.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,5 @@ jobs:
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
- run: cargo build
- run: cargo test

4 changes: 2 additions & 2 deletions src/datadog.rs
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,8 @@ pub async fn send_stream_event(value: &StreamEvent, dd_api_key: String) -> Resul
#[cfg(test)]
mod tests {
use super::{send_event, send_stream_event, Event, StreamEvent};
use crate::AlertType::Error;
use crate::Priority::Normal;
use super::AlertType::Error;
use super::Priority::Normal;
use hostname;
use std::collections::BTreeMap;
use std::env;
Expand Down

0 comments on commit 516cece

Please sign in to comment.