Skip to content

Commit ba4d98c

Browse files
committed
TEST: Update tests for passing without std feature
1 parent cac792e commit ba4d98c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/tests.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -434,6 +434,7 @@ fn test_into_inner_3_() {
434434
assert_eq!(v.into_inner().unwrap(), [1, 2, 3, 4]);
435435
}
436436

437+
#[cfg(feature="std")]
437438
#[test]
438439
fn test_write() {
439440
use std::io::Write;
@@ -468,6 +469,7 @@ fn array_clone_from() {
468469
assert_eq!(&t, &reference[..]);
469470
}
470471

472+
#[cfg(feature="std")]
471473
#[test]
472474
fn test_string() {
473475
use std::error::Error;

0 commit comments

Comments
 (0)