File tree Expand file tree Collapse file tree 1 file changed +19
-19
lines changed
Expand file tree Collapse file tree 1 file changed +19
-19
lines changed Original file line number Diff line number Diff line change @@ -3127,23 +3127,23 @@ mod record {
31273127 ) ;
31283128 }
31293129
3130- #[ test]
3131- fn temp ( ) {
3132- let engine_state = nu_cmd_lang:: create_default_context ( ) ;
3133- let mut working_set = StateWorkingSet :: new ( & engine_state) ;
3134- parse (
3135- & mut working_set,
3136- None ,
3137- br#"
3138- module test1 { export const a = 5 };
3139- module test2 { export use test1 };
3140- use test2;
3141- "# ,
3142- false ,
3143- ) ;
3144- assert_eq ! (
3145- working_set. parse_errors. first( ) . map( |e| e. to_string( ) ) ,
3146- Some ( "Invalid characters after closing delimiter" . to_string( ) )
3147- ) ;
3148- }
3130+ // #[test]
3131+ // fn temp() {
3132+ // let engine_state = nu_cmd_lang::create_default_context();
3133+ // let mut working_set = StateWorkingSet::new(&engine_state);
3134+ // parse(
3135+ // &mut working_set,
3136+ // None,
3137+ // br#"
3138+ // module test1 { export const a = 5 };
3139+ // module test2 { export use test1 };
3140+ // use test2;
3141+ // "#,
3142+ // false,
3143+ // );
3144+ // assert_eq!(
3145+ // working_set.parse_errors.first().map(|e| e.to_string()),
3146+ // Some("Invalid characters after closing delimiter".to_string())
3147+ // );
3148+ // }
31493149}
You can’t perform that action at this time.
0 commit comments