Skip to content

Commit 54b972c

Browse files
committed
test: fix test expectation
1 parent 55d2bb8 commit 54b972c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

modules/analysis/src/endpoints/tests/latest_filters.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ async fn resolve_rh_variant_latest_filter_container_cdx(
8686
)]
8787
#[case( // latest name exact search
8888
Req { loc: Loc::Id("NetworkManager-libnm-devel"), latest: true, ..Req::default() },
89-
10
89+
5
9090
)]
9191
#[test_log::test(actix_web::test)]
9292
async fn resolve_rh_variant_latest_filter_rpms_cdx(
@@ -363,13 +363,13 @@ async fn test_tc2677(
363363

364364
#[test_context(TrustifyContext)]
365365
#[rstest]
366-
#[case( // latest
366+
#[case( // non-latest
367367
Req { loc: Loc::Id("pkg:maven/io.vertx/vertx-core"), ..Req::default() },
368368
0
369369
)]
370-
#[case( // non-latest
370+
#[case( // latest
371371
Req { loc: Loc::Id("pkg:maven/io.vertx/vertx-core"), latest: true, ..Req::default() },
372-
0
372+
2
373373
)]
374374
#[test_log::test(actix_web::test)]
375375
async fn test_tc2717(

0 commit comments

Comments
 (0)