Skip to content

Commit

Permalink
Use slug instead of name
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasmerlin committed Nov 2, 2024
1 parent 8a0a535 commit 3fcc162
Show file tree
Hide file tree
Showing 9 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fancy-example/src/stargazers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ impl Stargazers {
callback(Ok((example_stargazers(), None)));
#[cfg(not(feature = "mock"))]
ehttp::fetch(
Request::get(format!(
ehttp::Request::get(format!(
"https://api.github.com/repos/lucasmerlin\
/hello_egui/stargazers?per_page=100&page={}",
cursor.unwrap_or(1)
Expand Down
2 changes: 1 addition & 1 deletion fancy-example/tests/fancy_example.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ pub async fn test_pages() {
harness.run();
}

let res = harness.try_wgpu_snapshot(&format!("example/{}", example.name));
let res = harness.try_wgpu_snapshot(&format!("example/{}", example.slug));
if let Err(e) = res {
errors.push(e);
}
Expand Down

0 comments on commit 3fcc162

Please sign in to comment.