@@ -303,7 +303,7 @@ impl Environment {
303303
304304#[ cfg( test) ]
305305mod tests {
306- mod environment_val_tests {
306+ mod environment_val {
307307 use crate :: environment:: EnvironmentVal ;
308308 use crate :: symbol:: Symbol ;
309309 use crate :: value:: { Value } ;
@@ -316,7 +316,7 @@ mod tests {
316316 ////////////////////////////////////////////////////////////////////////////////
317317
318318 #[ test]
319- fn test_get_current_namespace ( ) {
319+ fn get_current_namespace ( ) {
320320 let env_val = EnvironmentVal :: new_main_val ( ) ;
321321
322322 assert_eq ! ( Symbol :: intern( "user" ) , env_val. get_current_namespace( ) ) ;
@@ -339,7 +339,7 @@ mod tests {
339339 //////////////////////////////////////////////////////////////////////////////
340340
341341 #[ test]
342- fn test_get_from_namespace ( ) {
342+ fn get_from_namespace ( ) {
343343 let env_val = EnvironmentVal :: new_main_val ( ) ;
344344
345345 env_val. insert_into_namespace (
@@ -377,7 +377,7 @@ mod tests {
377377 }
378378
379379 }
380- mod environment_tests {
380+ mod environment {
381381 use crate :: environment:: Environment ;
382382 use crate :: environment:: Environment :: * ;
383383 use crate :: environment:: EnvironmentVal ;
@@ -392,7 +392,7 @@ mod tests {
392392 //
393393 ////////////////////////////////////////////////////////////////////////
394394 #[ test]
395- fn test_get__plus ( ) {
395+ fn get_plus ( ) {
396396 let add_fn = rust_core:: AddFn { } ;
397397
398398 let environment = Rc :: new ( Environment :: new_main_environment ( ) ) ;
@@ -406,15 +406,15 @@ mod tests {
406406 assert_eq ! ( 8 . to_value( ) , add_ifn. invoke( vec![ 3_i32 . to_rc_value( ) , 5_i32 . to_rc_value( ) ] ) ) ;
407407 return ;
408408 }
409- panic ! ( "test_get_plus : plus is: {:#?}" , plus) ;
409+ panic ! ( "get_plus : plus is: {:#?}" , plus) ;
410410 }
411411 /////////////////////////////////////////////////////////////////////////
412412 //
413413 // pub fn insert(&self, sym: Symbol, val: Rc<Value>) {
414414 //
415415 /////////////////////////////////////////////////////////////////////////
416416 #[ test]
417- fn test_insert__plus ( ) {
417+ fn insert_plus ( ) {
418418 let add_fn = rust_core:: AddFn { } ;
419419
420420 let environment = Rc :: new ( Environment :: new_main_environment ( ) ) ;
0 commit comments