mirror of
https://github.com/italicsjenga/agb.git
synced 2025-01-11 09:31:34 +11:00
Mark ignore on test runner docs
This commit is contained in:
parent
08360b5245
commit
654bff0cb7
|
@ -247,7 +247,7 @@ impl Gba {
|
||||||
/// In order to use this, you need to enable the unstable `custom_test_framework` feature and copy-paste
|
/// In order to use this, you need to enable the unstable `custom_test_framework` feature and copy-paste
|
||||||
/// the following into the top of your application:
|
/// the following into the top of your application:
|
||||||
///
|
///
|
||||||
/// ```
|
/// ```rust,ignore
|
||||||
/// #![cfg_attr(test, feature(custom_test_frameworks))]
|
/// #![cfg_attr(test, feature(custom_test_frameworks))]
|
||||||
/// #![cfg_attr(test, reexport_test_harness_main = "test_main")]
|
/// #![cfg_attr(test, reexport_test_harness_main = "test_main")]
|
||||||
/// #![cfg_attr(test, test_runner(agb::test_runner::test_runner))]
|
/// #![cfg_attr(test, test_runner(agb::test_runner::test_runner))]
|
||||||
|
@ -256,7 +256,7 @@ impl Gba {
|
||||||
/// With this support, you will be able to write tests which you can run using `mgba-test-runner`.
|
/// With this support, you will be able to write tests which you can run using `mgba-test-runner`.
|
||||||
/// Tests are written using `#[test_case]` rather than `#[test]`.
|
/// Tests are written using `#[test_case]` rather than `#[test]`.
|
||||||
///
|
///
|
||||||
/// ```
|
/// ```rust,ignore
|
||||||
/// #[test_case]
|
/// #[test_case]
|
||||||
/// fn test_ping_pong(_gba: &mut Gba) {
|
/// fn test_ping_pong(_gba: &mut Gba) {
|
||||||
/// assert_eq!(1, 1);
|
/// assert_eq!(1, 1);
|
||||||
|
|
Loading…
Reference in a new issue