File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,6 @@ const USER_AGENT: &str = "docs.rs builder (https://github.com/rust-lang/docs.rs)
3434const COMPONENTS : & [ & str ] = & [ "llvm-tools-preview" , "rustc-dev" , "rustfmt" ] ;
3535const DUMMY_CRATE_NAME : & str = "empty-library" ;
3636const DUMMY_CRATE_VERSION : & str = "1.0.0" ;
37- const DUMMY_CRATE_PUBLISHER_ID : & str = "2299951" ; // pietroalbini
3837
3938#[ derive( Debug ) ]
4039pub 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.
You can’t perform that action at this time.
0 commit comments