@@ -35,7 +35,7 @@ Options:
3535
3636 -j, --threads <THREADS>
3737 Number of threads to use. Specifying 0 defaults to the number of logical cores
38-
38+
3939 [aliases: --jobs]
4040
4141 -V, --version
@@ -61,11 +61,11 @@ Display options:
6161
6262 -v, --verbosity...
6363 Verbosity level of the log messages.
64-
64+
6565 Pass multiple times to increase the verbosity (e.g. -v, -vv, -vvv).
66-
66+
6767 Depending on the context the verbosity levels have different meanings.
68-
68+
6969 For example, the verbosity levels of the EVM are:
7070 - 2 (-vv): Print logs for all tests.
7171 - 3 (-vvv): Print execution traces for failing tests.
@@ -871,6 +871,40 @@ 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+ Installing tempo-std in [..] (url: https://github.com/tempo/tempo-std, tag: None)
884+ Installed tempo-std[..]
885+ Initialized forge project
886+
887+ "#
888+ ] ] ) ;
889+
890+ assert!( prj. root( ) . join( "foundry.toml" ) . exists( ) ) ;
891+ assert!( prj. root( ) . join( "lib/forge-std" ) . exists( ) ) ;
892+
893+ assert!( prj. root( ) . join( "src" ) . exists( ) ) ;
894+ assert!( prj. root( ) . join( "src" ) . join( "Mail.sol" ) . exists( ) ) ;
895+
896+ assert!( prj. root( ) . join( "test" ) . exists( ) ) ;
897+ assert!( prj. root( ) . join( "test" ) . join( "Mail.t.sol" ) . exists( ) ) ;
898+
899+ assert!( prj. root( ) . join( "script" ) . exists( ) ) ;
900+ assert!( prj. root( ) . join( "script" ) . join( "Mail.s.sol" ) . exists( ) ) ;
901+
902+ assert!( prj. root( ) . join( ".github" ) . join( "workflows" ) . exists( ) ) ;
903+ assert!( prj. root( ) . join( ".github" ) . join( "workflows" ) . join( "test.yml" ) . exists( ) ) ;
904+
905+ assert!( prj. root( ) . join( "README.md" ) . exists( ) ) ;
906+ } ) ;
907+
874908// checks that clone works with raw src containing `node_modules`
875909// <https://github.com/foundry-rs/foundry/issues/10115>
876910forgetest ! ( can_clone_with_node_modules, |prj, cmd| {
0 commit comments