Attribute Macro test_with::runtime_timezone

source ยท
#[runtime_timezone]
Expand description

Run test case when the example running within specific timzones.

 // write as example in examples/*rs
 test_with::runner!(timezone);
 #[test_with::module]
 mod timezone {
     // 0 means UTC timezone
     #[test_with::runtime_timezone(0)]
     fn test_works() {
         assert!(true);
     }
 }