Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Memri
POD
Commits
ae8fb075
Commit
ae8fb075
authored
3 years ago
by
Alp Deniz Ogut
Browse files
Options
Download
Email Patches
Plain Diff
Fix fmt
parent
ded34b93
Pipeline
#7575
passed with stage
in 15 minutes and 1 second
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/internal_api.rs
+5
-1
src/internal_api.rs
with
5 additions
and
1 deletion
+5
-1
src/internal_api.rs
+
5
-
1
View file @
ae8fb075
...
...
@@ -813,7 +813,11 @@ mod tests {
.filter
(|
x
|
!
x
.as_array
()
.unwrap
()
.is_empty
());
// print!("{:}", serde_json::to_string_pretty(&json!(data)).unwrap());
assert_eq!
(
items_with_friends
.clone
()
.count
(),
100
,
"Expected 100 friends"
);
assert_eq!
(
items_with_friends
.clone
()
.count
(),
100
,
"Expected 100 friends"
);
// check if 1st level prop is fetched
let
age
:
i32
=
serde_json
::
from_value
(
data
[
0
][
"age"
]
.clone
())
.unwrap_or
(
0
);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets