Skip to content

Commit

Permalink
Update common.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
nociza authored Apr 28, 2023
1 parent 2c6654e commit e0a868a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ pub(crate) async fn test_query_with_params_and_serialize(
let result = serde_json::to_string(&result)?;

// Verify the data returned by the query
let expected_result = r#"{"rows":[{"values":[{"Int":1},{"Bytes":"dXBkYXRlZA"}],"columns":[{"name":"id","column_type":"INT"},{"name":"name","column_type":"VARCHAR"}]}],"affected_rows":0}"#;
let expected_result = r#"{"rows":[{"values":[{"Int":1},{"Bytes":"dXBkYXRlZA"}],"columns":[{"name":"id","column_type":"INT"},{"name":"name","column_type":"VARCHAR"}]}],"affected_row_count":0}"#;
assert_eq!(result, expected_result);

_cleanup_database(database)?;
Expand Down

0 comments on commit e0a868a

Please sign in to comment.