Remove benchmark
This commit is contained in:
parent
41f5ac11d8
commit
808329c1c4
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue