File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 7979//! Fail points are managed by the registry which stores a map of the fail points
8080//! names and actions. The registry is divided into local and global.
8181//!
82- //! When you don't specifically declare a registry, the global registry will be used
82+ //! When you don't declare a registry explicitly , the global registry will be used
8383//! by default. You can pass the setting from environment variables to the global registry.
8484//! Sometimes you need different tests to use different registries and don’t want their
8585//! behavior to interfere with each other. You can create a local registry and then register
110110//! }
111111//! ```
112112//!
113- //! It should be noted that the local registry will will overwrite the global registry
113+ //! It should be noted that the local registry will overwrite the global registry
114114//! if you register the current thread here. This means that the current thread can only
115115//! use the fail points configuration of the local registry after registration.
116116//!
133133//! }
134134//! println!("Global registry: {:?}", fail::list());
135135//! ```
136- //! When the example is run normally it prints out the contents of the registry used
136+ //! The example will print out the contents of the registry used
137137//! at the time.
138138//!
139139//! ```sh
You can’t perform that action at this time.
0 commit comments