From c8bec0fba33af4b16278e0961914bf74ed77f2c6 Mon Sep 17 00:00:00 2001
From: Christian Legnitto <christian.legnitto@robinhood.com>
Date: Wed, 29 Jan 2020 02:50:28 -0500
Subject: [PATCH] Fix test

---
 juniper_rocket/src/lib.rs | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/juniper_rocket/src/lib.rs b/juniper_rocket/src/lib.rs
index 4b542d5d..73cb797e 100644
--- a/juniper_rocket/src/lib.rs
+++ b/juniper_rocket/src/lib.rs
@@ -39,10 +39,7 @@ Check the LICENSE file for details.
 #![doc(html_root_url = "https://docs.rs/juniper_rocket/0.2.0")]
 #![feature(decl_macro, proc_macro_hygiene)]
 
-use std::{
-    error::Error,
-    io::{Cursor, Read},
-};
+use std::io::{Cursor, Read};
 
 use rocket::{
     data::{FromDataSimple, Outcome as FromDataOutcome},
@@ -425,7 +422,7 @@ mod fromform_tests {
 
     #[test]
     fn test_variables_invalid_json() {
-        check_error("query=test&variables=NOT_JSON", "JSON error", false);
+        check_error("query=test&variables=NOT_JSON", "expected value at line 1 column 1", false);
     }
 
     #[test]