Skip to content

Commit b5086e3

Browse files
authored
Merge pull request #14 from foresterre/table-of-tables-test
2 parents 1f2c343 + e032215 commit b5086e3

File tree

4 files changed

+16
-3
lines changed

4 files changed

+16
-3
lines changed

Cargo.toml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,26 @@ indicatif = "0.16.2"
2929
# parameterized tests
3030
yare = "1.0.1"
3131

32+
# --- Examples
33+
3234
[[example]]
3335
name = "json_lines"
3436
required-features = ["channel_reporter"]
3537

3638
[[example]]
3739
name = "readme"
3840
required-features = ["channel_reporter"]
41+
42+
# --- Integration tests
43+
44+
[[test]]
45+
name = "collecting_handler"
46+
required-features = ["channel_reporter"]
47+
48+
[[test]]
49+
name = "multi_handler"
50+
required-features = ["channel_reporter"]
51+
52+
[[test]]
53+
name = "registering_handler"
54+
required-features = ["channel_reporter"]

tests/collecting_handler.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// A sample implementation which collects the events it receives
2-
#![cfg(feature = "channel_reporter")]
32
extern crate core;
43

54
use std::sync::atomic::{AtomicUsize, Ordering};

tests/multi_handler.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// A sample implementation which collects the events it receives
2-
#![cfg(feature = "channel_reporter")]
32
extern crate core;
43

54
use std::marker::PhantomData;

tests/registering_handler.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// A sample implementation which collects the events it receives
2-
#![cfg(feature = "channel_reporter")]
32
extern crate core;
43

54
use std::sync::atomic::{AtomicUsize, Ordering};

0 commit comments

Comments
 (0)