Skip to content

Commit

Permalink
Add should_panic to test_cache_with_diffrent_length_return
Browse files Browse the repository at this point in the history
  • Loading branch information
elftausend committed Sep 12, 2024
1 parent ca8d64d commit b754368
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ min-cl = { git = "https://github.com/elftausend/min-cl", optional = true }
# min-cl = { version = "0.3.0", optional=true }

[features]
# default = ["cpu", "opencl", "cuda", "blas", "static-api", "stack", "macro", "nnapi", "untyped", "autograd", "autograd", "cached", "lazy", "fork", "graph", "serde"]
default = ["cpu"]
default = ["cpu", "opencl", "blas", "static-api", "stack", "macro", "untyped", "autograd", "autograd", "cached", "lazy", "fork", "graph", "serde"]
# default = ["cpu"]
# default = ["no-std"]
# default = ["opencl"]
# default = ["untyped", "cpu", "lazy", "graph", "autograd", "fork", "serde", "json", "half", "cached", "static-api", "stack", "opencl", "nnapi"]
Expand Down
1 change: 1 addition & 0 deletions src/cache/owned_cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ mod tests {
}

#[test]
#[should_panic]
fn test_cache_with_diffrent_length_return() {
use crate::{Buffer, Cursor, Retriever};

Expand Down

0 comments on commit b754368

Please sign in to comment.