aboutsummaryrefslogblamecommitdiff
path: root/helix-term/tests/integration.rs
blob: a378af7a9b25fd7ed537c67d6ca061b85832fa3a (plain) (tree)
1
2
3
4
5
6
7
8
9
                               
          
                
                           
 
                                                                  
 
                     
 
                         
 
                                           
                                                  
                                                                            
              
     
                    
                 
                 
               
               
              
 
#[cfg(feature = "integration")]
mod test {
    mod helpers;

    use std::path::PathBuf;

    use helix_core::{syntax::AutoPairConfig, Position, Selection};
    use helix_term::{args::Args, config::Config};

    use indoc::indoc;

    use self::helpers::*;

    #[tokio::test(flavor = "multi_thread")]
    async fn hello_world() -> anyhow::Result<()> {
        test(("#[\n|]#", "ihello world<esc>", "hello world#[|\n]#")).await?;
        Ok(())
    }

    mod auto_indent;
    mod auto_pairs;
    mod commands;
    mod movement;
    mod prompt;
    mod splits;
    mod write;
}