fix the ignored tests in doc test (#898)

* fix ignored test

* move CI to --release per Gav
This commit is contained in:
guanqun
2018-10-13 21:16:17 +08:00
committed by Gav Wood
parent 2be621af77
commit 26b105b472
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ case $TARGET in
sudo apt-get -y update sudo apt-get -y update
sudo apt-get install -y cmake pkg-config libssl-dev sudo apt-get install -y cmake pkg-config libssl-dev
cargo test --all --locked cargo test --all --release --locked
;; ;;
"wasm") "wasm")
+2 -2
View File
@@ -121,7 +121,7 @@ pub struct RouteEntry<Block: BlockT> {
/// The ancestry sets will include the given blocks, and thus the tree-route is /// The ancestry sets will include the given blocks, and thus the tree-route is
/// never empty. /// never empty.
/// ///
/// ```ignore /// ```text
/// Tree route from R1 to E2. Retracted is [R1, R2, R3], Common is C, enacted [E1, E2] /// Tree route from R1 to E2. Retracted is [R1, R2, R3], Common is C, enacted [E1, E2]
/// <- R3 <- R2 <- R1 /// <- R3 <- R2 <- R1
/// / /// /
@@ -129,7 +129,7 @@ pub struct RouteEntry<Block: BlockT> {
/// \-> E1 -> E2 /// \-> E1 -> E2
/// ``` /// ```
/// ///
/// ```ignore /// ```text
/// Tree route from C to E2. Retracted empty. Common is C, enacted [E1, E2] /// Tree route from C to E2. Retracted empty. Common is C, enacted [E1, E2]
/// C -> E1 -> E2 /// C -> E1 -> E2
/// ``` /// ```
+1 -1
View File
@@ -107,7 +107,7 @@ macro_rules! unmarshall_args {
/// Since we can't specify the type of closure directly at binding site: /// Since we can't specify the type of closure directly at binding site:
/// ///
/// ```rust,ignore /// ```nocompile
/// let f: FnOnce() -> Result<<u32 as ConvertibleToWasm>::NativeType, _> = || { /* ... */ }; /// let f: FnOnce() -> Result<<u32 as ConvertibleToWasm>::NativeType, _> = || { /* ... */ };
/// ``` /// ```
/// ///
@@ -68,7 +68,7 @@ macro_rules! unmarshall_then_body {
/// Since we can't specify the type of closure directly at binding site: /// Since we can't specify the type of closure directly at binding site:
/// ///
/// ```rust,ignore /// ```nocompile
/// let f: FnOnce() -> Result<<u32 as ConvertibleToWasm>::NativeType, _> = || { /* ... */ }; /// let f: FnOnce() -> Result<<u32 as ConvertibleToWasm>::NativeType, _> = || { /* ... */ };
/// ``` /// ```
/// ///