mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 16:21:33 +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
|
||||
/// the following into the top of your application:
|
||||
///
|
||||
/// ```
|
||||
/// ```rust,ignore
|
||||
/// #![cfg_attr(test, feature(custom_test_frameworks))]
|
||||
/// #![cfg_attr(test, reexport_test_harness_main = "test_main")]
|
||||
/// #![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`.
|
||||
/// Tests are written using `#[test_case]` rather than `#[test]`.
|
||||
///
|
||||
/// ```
|
||||
/// ```rust,ignore
|
||||
/// #[test_case]
|
||||
/// fn test_ping_pong(_gba: &mut Gba) {
|
||||
/// assert_eq!(1, 1);
|
||||
|
|
Loading…
Reference in a new issue