Skip to content

Commit d8c7645

Browse files
authored
run test with on default features (#109)
1 parent d4a1434 commit d8c7645

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

ci/src/main.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,14 @@ fn main() {
1414
panic!("default test execution failed");
1515
}
1616

17+
// Run a build with no features
18+
if !task::test(task::TestArgs {
19+
default_features: false,
20+
..Default::default()
21+
}) {
22+
panic!("default test execution failed");
23+
}
24+
1725
// Run a set of permutations
1826
let failed = permute::all(&features)
1927
.into_iter()

ci/src/permute.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ pub fn all<T>(input: &[T]) -> BTreeSet<BTreeSet<T>> where T: Ord + Eq + Clone {
1111

1212
if input.len() > 1 {
1313
for t in input {
14-
let mut p = input
14+
let p = input
1515
.iter()
1616
.filter(|pt| *pt != t)
1717
.cloned()

0 commit comments

Comments
 (0)