@@ -871,6 +871,38 @@ Installing forge-std in [..] (url: https://github.com/foundry-rs/forge-std, tag:
871871 assert!( prj. root( ) . join( ".github" ) . join( "workflows" ) . join( "test.yml" ) . exists( ) ) ;
872872} ) ;
873873
874+ // checks that `forge init --network tempo` works.
875+ forgetest ! ( can_init_tempo_project, |prj, cmd| {
876+ prj. wipe( ) ;
877+
878+ cmd. args( [ "init" , "--network" , "tempo" ] ) . arg( prj. root( ) ) . assert_success( ) . stdout_eq( str ![ [
879+ r#"
880+ Initializing [..]...
881+ Installing forge-std in [..] (url: https://github.com/foundry-rs/forge-std, tag: None)
882+ Installed forge-std[..]
883+ Initialized forge project
884+
885+ "#
886+ ] ] ) ;
887+
888+ assert!( prj. root( ) . join( "foundry.toml" ) . exists( ) ) ;
889+ assert!( prj. root( ) . join( "lib/forge-std" ) . exists( ) ) ;
890+
891+ assert!( prj. root( ) . join( "src" ) . exists( ) ) ;
892+ assert!( prj. root( ) . join( "src" ) . join( "Mail.sol" ) . exists( ) ) ;
893+
894+ assert!( prj. root( ) . join( "test" ) . exists( ) ) ;
895+ assert!( prj. root( ) . join( "test" ) . join( "Mail.t.sol" ) . exists( ) ) ;
896+
897+ assert!( prj. root( ) . join( "script" ) . exists( ) ) ;
898+ assert!( prj. root( ) . join( "script" ) . join( "Mail.s.sol" ) . exists( ) ) ;
899+
900+ assert!( prj. root( ) . join( ".github" ) . join( "workflows" ) . exists( ) ) ;
901+ assert!( prj. root( ) . join( ".github" ) . join( "workflows" ) . join( "test.yml" ) . exists( ) ) ;
902+
903+ assert!( prj. root( ) . join( "README.md" ) . exists( ) ) ;
904+ } ) ;
905+
874906// checks that clone works with raw src containing `node_modules`
875907// <https://github.com/foundry-rs/foundry/issues/10115>
876908forgetest ! ( can_clone_with_node_modules, |prj, cmd| {
0 commit comments