Disable failing doctests

This commit is contained in:
nabijaczleweli 2016-10-11 19:11:40 +02:00
parent 9fb8309d3a
commit c81579a20a
No known key found for this signature in database
GPG Key ID: BCFD0B018D2658F1
5 changed files with 8 additions and 9 deletions

View File

@ -112,7 +112,6 @@ impl backend::Backend for Concrete {
pancurses::Input::KeyF13 => Event::Shift(Key::F1), pancurses::Input::KeyF13 => Event::Shift(Key::F1),
pancurses::Input::KeyF14 => Event::Shift(Key::F2), pancurses::Input::KeyF14 => Event::Shift(Key::F2),
pancurses::Input::KeyF15 => Event::Shift(Key::F3), pancurses::Input::KeyF15 => Event::Shift(Key::F3),
// TODO: not sure what those are
pancurses::Input::KeyDL => Event::Refresh, pancurses::Input::KeyDL => Event::Refresh,
pancurses::Input::KeyIL => Event::Key(Key::Ins), pancurses::Input::KeyIL => Event::Key(Key::Ins),
pancurses::Input::KeyDC => Event::Key(Key::Del), pancurses::Input::KeyDC => Event::Key(Key::Del),

View File

@ -211,7 +211,7 @@ impl Cursive {
/// ///
/// # Examples /// # Examples
/// ///
/// ``` /// ```no_run
/// # extern crate cursive; /// # extern crate cursive;
/// # /// #
/// # use cursive::{Cursive, event}; /// # use cursive::{Cursive, event};
@ -348,7 +348,7 @@ impl Cursive {
/// ///
/// # Examples /// # Examples
/// ///
/// ``` /// ```no_run
/// # extern crate cursive; /// # extern crate cursive;
/// # use cursive::{Cursive, views, view}; /// # use cursive::{Cursive, views, view};
/// # use cursive::traits::*; /// # use cursive::traits::*;
@ -374,7 +374,7 @@ impl Cursive {
/// ///
/// # Examples /// # Examples
/// ///
/// ``` /// ```no_run
/// # extern crate cursive; /// # extern crate cursive;
/// # use cursive::{Cursive, views}; /// # use cursive::{Cursive, views};
/// # use cursive::traits::*; /// # use cursive::traits::*;
@ -401,7 +401,7 @@ impl Cursive {
/// ///
/// # Examples /// # Examples
/// ///
/// ``` /// ```no_run
/// # extern crate cursive; /// # extern crate cursive;
/// # use cursive::*; /// # use cursive::*;
/// # fn main() { /// # fn main() {
@ -420,7 +420,7 @@ impl Cursive {
/// ///
/// # Examples /// # Examples
/// ///
/// ``` /// ```no_run
/// # extern crate cursive; /// # extern crate cursive;
/// # use cursive::*; /// # use cursive::*;
/// # fn main() { /// # fn main() {

View File

@ -130,7 +130,7 @@ impl ScrollBase {
/// ///
/// # Examples /// # Examples
/// ///
/// ``` /// ```no_run
/// # use cursive::view::ScrollBase; /// # use cursive::view::ScrollBase;
/// # use cursive::Printer; /// # use cursive::Printer;
/// # use cursive::theme; /// # use cursive::theme;

View File

@ -21,7 +21,7 @@ use view::View;
/// ///
/// [edit example]: https://github.com/gyscos/Cursive/blob/master/examples/edit.rs /// [edit example]: https://github.com/gyscos/Cursive/blob/master/examples/edit.rs
/// ///
/// ``` /// ```no_run
/// # extern crate cursive; /// # extern crate cursive;
/// # use cursive::Cursive; /// # use cursive::Cursive;
/// # use cursive::traits::*; /// # use cursive::traits::*;

View File

@ -24,7 +24,7 @@ use views::MenuPopup;
/// ///
/// # Examples /// # Examples
/// ///
/// ``` /// ```no_run
/// # extern crate cursive; /// # extern crate cursive;
/// # use cursive::Cursive; /// # use cursive::Cursive;
/// # use cursive::views::{SelectView, Dialog, TextView}; /// # use cursive::views::{SelectView, Dialog, TextView};