std: clean json test imports
This commit is contained in:
@@ -1195,15 +1195,11 @@ impl to_str::ToStr for Error {
|
|||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod tests {
|
mod tests {
|
||||||
|
use super::*;
|
||||||
|
|
||||||
use core::prelude::*;
|
use core::prelude::*;
|
||||||
|
|
||||||
use json::*;
|
|
||||||
use serialize;
|
|
||||||
|
|
||||||
use core::result;
|
|
||||||
use core::hashmap::linear::LinearMap;
|
use core::hashmap::linear::LinearMap;
|
||||||
|
|
||||||
|
|
||||||
fn mk_object(items: &[(~str, Json)]) -> Json {
|
fn mk_object(items: &[(~str, Json)]) -> Json {
|
||||||
let mut d = ~LinearMap::new();
|
let mut d = ~LinearMap::new();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user