Skip to content

Commit 1ad20a7

Browse files
committed
Generalise WASM tests
Remove two exceptions/special cases
1 parent 94efb40 commit 1ad20a7

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ matrix:
149149
#- cargo web test --nodejs --target wasm32-unknown-emscripten
150150
#- cargo build --target wasm32-unknown-unknown # without any features
151151
- cargo build --target wasm32-unknown-unknown --features=wasm-bindgen
152-
- cd rand_os && cargo web test --target wasm32-unknown-unknown --features=stdweb
152+
- cargo web test --target wasm32-unknown-unknown --features=stdweb
153153

154154
- rust: nightly
155155
env: DESCRIPTION="cross-platform builder (doesn't run tests)"

src/rngs/thread.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,6 @@ impl CryptoRng for ThreadRng {}
132132
#[cfg(test)]
133133
mod test {
134134
#[test]
135-
#[cfg(not(feature="stdweb"))]
136135
fn test_thread_rng() {
137136
use Rng;
138137
let mut r = ::thread_rng();

0 commit comments

Comments
 (0)