Skip to content
Snippets Groups Projects
Commit 02222d39 authored by Georgy Moshkin's avatar Georgy Moshkin :speech_balloon:
Browse files

test: fix 1 test failing in release mode

parent aa5e73c4
No related branches found
No related tags found
1 merge request!950Gmoshkin/test release builds in ci
......@@ -236,5 +236,7 @@ mod test {
#[should_panic]
fn update_instance_req_with_target_grade_Replicated() {
Request::new("".into(), "".into()).with_target_grade(Replicated);
#[cfg(not(debug_assertions))]
panic!("this is a synthetic panic, because the test is expected to panic, but the actual code only panics in debug mode");
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment