Skip to content

Commit b290863

Browse files
committed
std: clean json test imports
1 parent bd77e94 commit b290863

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/libstd/json.rs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1195,15 +1195,11 @@ impl to_str::ToStr for Error {
11951195
11961196
#[cfg(test)]
11971197
mod tests {
1198-
use core::prelude::*;
1199-
1200-
use json::*;
1201-
use serialize;
1198+
use super::*;
12021199
1203-
use core::result;
1200+
use core::prelude::*;
12041201
use core::hashmap::linear::LinearMap;
12051202
1206-
12071203
fn mk_object(items: &[(~str, Json)]) -> Json {
12081204
let mut d = ~LinearMap::new();
12091205

0 commit comments

Comments
 (0)