From 808329c1c48369135d860fa8978d3c0b6eb21595 Mon Sep 17 00:00:00 2001 From: Yong Wen Chua Date: Mon, 17 Jul 2017 18:16:06 +0800 Subject: [PATCH] Remove benchmark --- tests/fairing.rs | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/tests/fairing.rs b/tests/fairing.rs index d1f3c3c..7518ee1 100644 --- a/tests/fairing.rs +++ b/tests/fairing.rs @@ -1,11 +1,10 @@ //! This crate tests using rocket_cors using Fairings -#![feature(plugin, custom_derive, test)] +#![feature(plugin, custom_derive)] #![plugin(rocket_codegen)] extern crate hyper; extern crate rocket; extern crate rocket_cors; -extern crate test; use std::str::FromStr; @@ -86,13 +85,6 @@ fn smoke_test() { } -use test::Bencher; - -#[bench] -fn bench_smoke_test(b: &mut Bencher) { - b.iter(|| smoke_test()); -} - #[test] fn cors_options_check() { let client = Client::new(rocket()).unwrap();