@@ -175,7 +175,7 @@ fn empty() {
175175#[ test]
176176fn test_paths ( ) {
177177 let path = Path :: new ( "/foo/tsconfig.json" ) ;
178- let mut tsconfig_json = serde_json:: json!( {
178+ let tsconfig_json = serde_json:: json!( {
179179 "compilerOptions" : {
180180 "paths" : {
181181 "jquery" : [ "node_modules/jquery/dist/jquery" ] ,
@@ -188,7 +188,7 @@ fn test_paths() {
188188 }
189189 } )
190190 . to_string ( ) ;
191- let tsconfig = TsConfig :: parse ( true , path, & mut tsconfig_json) . unwrap ( ) . build ( ) ;
191+ let tsconfig = TsConfig :: parse ( true , path, tsconfig_json) . unwrap ( ) . build ( ) ;
192192
193193 let data = [
194194 ( "jquery" , vec ! [ "/foo/node_modules/jquery/dist/jquery" ] ) ,
@@ -212,13 +212,13 @@ fn test_paths() {
212212#[ test]
213213fn test_base_url ( ) {
214214 let path = Path :: new ( "/foo/tsconfig.json" ) ;
215- let mut tsconfig_json = serde_json:: json!( {
215+ let tsconfig_json = serde_json:: json!( {
216216 "compilerOptions" : {
217217 "baseUrl" : "./src"
218218 }
219219 } )
220220 . to_string ( ) ;
221- let tsconfig = TsConfig :: parse ( true , path, & mut tsconfig_json) . unwrap ( ) . build ( ) ;
221+ let tsconfig = TsConfig :: parse ( true , path, tsconfig_json) . unwrap ( ) . build ( ) ;
222222
223223 let data = [
224224 ( "foo" , vec ! [ "/foo/src/foo" ] ) ,
@@ -237,7 +237,7 @@ fn test_base_url() {
237237#[ test]
238238fn test_paths_and_base_url ( ) {
239239 let path = Path :: new ( "/foo/tsconfig.json" ) ;
240- let mut tsconfig_json = serde_json:: json!( {
240+ let tsconfig_json = serde_json:: json!( {
241241 "compilerOptions" : {
242242 "baseUrl" : "./src" ,
243243 "paths" : {
@@ -249,7 +249,7 @@ fn test_paths_and_base_url() {
249249 }
250250 } )
251251 . to_string ( ) ;
252- let tsconfig = TsConfig :: parse ( true , path, & mut tsconfig_json) . unwrap ( ) . build ( ) ;
252+ let tsconfig = TsConfig :: parse ( true , path, tsconfig_json) . unwrap ( ) . build ( ) ;
253253
254254 let data = [
255255 ( "test" , vec ! [ "/foo/src/generated/test" , "/foo/src/test" ] ) ,
0 commit comments