Compare commits

..

1 Commits

Author SHA1 Message Date
e823d59821 Merge pull request 'fixes' (#2) from some_changes into main
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Reviewed-on: #2
2026-02-15 11:47:39 +00:00
3 changed files with 0 additions and 31 deletions

View File

@@ -1,20 +0,0 @@
when:
- event: pull_request
steps:
- name: fmt
image: rust:1.84
commands:
- rustup component add rustfmt
- cargo fmt -- --check
- name: clippy
image: rust:1.84
commands:
- rustup component add clippy
- cargo clippy -- -D warnings
- name: test
image: rust:1.84
commands:
- cargo test

View File

@@ -13,14 +13,3 @@ async fn main() {
async fn handler() -> Html<&'static str> {
Html("<h1>Mikhail Kilin</h1>")
}
#[cfg(test)]
mod tests {
use super::*;
#[tokio::test]
async fn test_handler() {
let response = handler().await;
assert!(response.0.contains("Mikhail Kilin"));
}
}