Skip to content

Commit

Permalink
Update packages/rs-sdk/tests/fetch/contested_resource.rs
Browse files Browse the repository at this point in the history
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
  • Loading branch information
lklimek and coderabbitai[bot] authored Oct 4, 2024
1 parent ccf93c3 commit f79d240
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/rs-sdk/tests/fetch/contested_resource.rs
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ async fn contested_resources_limit_PLAN_656() {
}, Ok("ContestedResources([])".into()); "Non-existing end_index_values returns error")]
#[test_case::test_case(|q| q.end_index_values = vec![Value::Array(vec![0.into(), 1.into()])], Err("incorrect index values error: too many end index values were provided"); "wrong type of end_index_values should return InvalidArgument")]
#[test_case::test_case(|q| q.limit = Some(0), Err(r#"code: InvalidArgument"#); "limit 0 returns InvalidArgument")]
#[test_case::test_case(|q| q.limit = Some(u16::MAX), Err(r#"code: InvalidArgument"#); "limit std::u16::MAX returns InvalidArgument")]
#[test_case::test_case(|q| q.limit = Some(u16::MAX), Err(r#"code: InvalidArgument"#); "limit u16::MAX returns InvalidArgument")]
// Disabled due to bug PLAN-656
// #[test_case::test_case(|q| {
// q.start_index_values = vec![Value::Text("dash".to_string())];
Expand Down

0 comments on commit f79d240

Please sign in to comment.