Skip to content

Commit db9e319

Browse files
committed
fix: tests
Signed-off-by: nabil salah <nabil.salah203@gmail.com>
1 parent fa77715 commit db9e319

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

bootstrap/bootstrap/src/hub.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ mod tests {
271271
let flist = repo.get("test.flist")?;
272272
assert_eq!(flist.name, "test.flist");
273273
assert_eq!(flist.kind, Kind::Regular);
274-
assert_eq!(flist.url, "https://hub.threefold.me/azmy/test.flist");
274+
assert!(flist.url.ends_with("/azmy/test.flist"));
275275

276276
Ok(())
277277
}
@@ -326,7 +326,7 @@ mod tests {
326326

327327
let found = found.unwrap();
328328
assert_eq!(found.name, "test.flist");
329-
assert_eq!(found.url, "https://hub.threefold.me/azmy/test.flist");
329+
assert!(found.url.ends_with("/azmy/test.flist"));
330330

331331
Ok(())
332332
}

0 commit comments

Comments
 (0)