Skip to content

Commit ee27253

Browse files
committed
try other publisher id for the test
1 parent c3f4901 commit ee27253

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/docbuilder/rustwide_builder.rs

+6-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ const USER_AGENT: &str = "docs.rs builder (https://github.com/rust-lang/docs.rs)
3434
const COMPONENTS: &[&str] = &["llvm-tools-preview", "rustc-dev", "rustfmt"];
3535
const DUMMY_CRATE_NAME: &str = "empty-library";
3636
const DUMMY_CRATE_VERSION: &str = "1.0.0";
37-
const DUMMY_CRATE_PUBLISHER_ID: &str = "2299951"; // pietroalbini
3837

3938
#[derive(Debug)]
4039
pub enum PackageKind<'a> {
@@ -959,6 +958,8 @@ mod tests {
959958
use crate::test::{assert_redirect, assert_success, wrapper};
960959
use serde_json::Value;
961960

961+
const DUMMY_CRATE_PUBLISHER_ID: &str = "4825";
962+
962963
#[test]
963964
#[ignore]
964965
fn test_build_crate() {
@@ -1167,6 +1168,10 @@ mod tests {
11671168
// cache dir doesn't contain doc output
11681169
assert!(!expected_cache_dir.join("doc").exists());
11691170

1171+
for chld in std::fs::read_dir(&expected_cache_dir)? {
1172+
dbg!(&chld);
1173+
}
1174+
11701175
// but seems to be a normal cargo target directory,
11711176
// which also means that `build_package` actually used the
11721177
// target directory, and it was moved into the cache afterwards.

0 commit comments

Comments
 (0)